[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[[["\u003cp\u003eThis page provides guidance for building and managing API proxies in Apigee and Apigee hybrid using Cloud Code.\u003c/p\u003e\n"],["\u003cp\u003eBefore you start, ensure that you have installed the Apigee Emulator and have an understanding of the fundamentals of APIs and API proxies.\u003c/p\u003e\n"],["\u003cp\u003eThe process of creating an API proxy involves creating a workspace, configuring and deploying an environment, and testing it against a mock endpoint.\u003c/p\u003e\n"],["\u003cp\u003eYou can modify your API proxy by changing the target endpoint, attaching policies to it, and then deploying it to an Apigee environment.\u003c/p\u003e\n"],["\u003cp\u003eThe final step in the process is to promote your project to production, after which it will be live.\u003c/p\u003e\n"]]],[],null,["# Building your first Apigee API proxy using Cloud Code\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\n\u003cbr /\u003e\n\n| **Before you start** :\n|\n| - Ensure that you have followed the steps described in [Setting up Apigee API Management in Cloud Code](/apigee/docs/api-platform/local-development/setup), including [installing the Apigee Emulator](/apigee/docs/api-platform/local-development/vscode/manage-apigee-emulator#install).\n| - Learn more about API proxies in [Understanding APIs and API proxies](/apigee/docs/api-platform/fundamentals/understanding-apis-and-api-proxies).\n\nBuild your first Apigee API proxy using Cloud Code.\n\n1. [Create an Apigee workspace](/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace) to set up the directory structure required for local development with Apigee.\n\n2. [Create an API proxy](/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy). You'll connect your API proxy to a mock target endpoint so you can see how it works.\n\n3. [Configure and deploy an environment](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy) that includes your new API proxy.\n\n4. [Test your API](/apigee/docs/api-platform/local-development/vscode/tutorial-test). Learn how to build and export test resources and authenticate using an API key to test your API.\n\n5. [Change your target endpoint](/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint) so your API proxy returns XML data.\n\n6. [Attach a policy](/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy) to convert the response from XML to JSON.\n\n7. [Deploy to an Apigee environment](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee).\n\n8. [Promote an archive to production](/apigee/docs/api-platform/local-development/vscode/tutorial-promote).\n\n\n[(NEXT) Step 1: Create an Apigee workspace](/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace)\n\n\n[2](/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy)\n\n\n[3](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy)\n\n\n[4](/apigee/docs/api-platform/local-development/vscode/tutorial-test)\n\n\n[5](/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint)\n\n\n[6](/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy)\n\n\n[7](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee)\n\n\n[8](/apigee/docs/api-platform/local-development/vscode/tutorial-promote)\n\n\u003cbr /\u003e"]]