*This page
applies to **Apigee** and **Apigee hybrid**.*


*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*
![](https://fonts.gstatic.com/s/i/googlematerialicons/help/v13/gm_grey-24dp/1x/gm_help_gm_grey_24dp.png)

<br />

> [!NOTE]
> **Before you start** :
>
> - Ensure that you have followed the steps described in [Set up Apigee API Management in Cloud Code](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/setup.md.txt), including [installing the Apigee Emulator](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/manage-apigee-emulator.md.txt#install).
> - Learn more about API proxies in [Understanding APIs and API proxies](https://docs.cloud.google.com/apigee/docs/api-platform/fundamentals/understanding-apis-and-api-proxies.md.txt).

Build your first Apigee API proxy using Cloud Code.

1. [Create an Apigee workspace](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace.md.txt) to set up the directory structure required for local development with Apigee.

2. [Create an API proxy](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy.md.txt). You'll connect your API proxy to a mock target endpoint so you can see how it works.

3. [Configure and deploy an environment](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-deploy.md.txt) that includes your new API proxy.

4. [Test your API](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-test.md.txt). Learn how to build and export test resources and authenticate using an API key to test your API.

5. [Change your target endpoint](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint.md.txt) so your API proxy returns XML data.

6. [Attach a policy](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy.md.txt) to convert the response from XML to JSON.

7. [Deploy to an Apigee environment](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee.md.txt).

8. [Promote an archive to production](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-promote.md.txt).


[(NEXT) Step 1: Create an Apigee workspace](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace.md.txt)


[2](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy.md.txt)


[3](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-deploy.md.txt)


[4](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-test.md.txt)


[5](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint.md.txt)


[6](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy.md.txt)


[7](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee.md.txt)


[8](https://docs.cloud.google.com/apigee/docs/api-platform/local-development/vscode/tutorial-promote.md.txt)

<br />