Configure e implante um ambiente que inclua o proxy de API helloworld.
Crie um ambiente.
Posicione o cursor sobre a pasta environments e clique em
.
O assistente Criar ambiente será aberto.
Digite dev como nome do ambiente e pressione Enter.
O ambiente é criado.
Abra a pasta do ambiente dev para conferir o conteúdo dela.
Quando você cria um ambiente, um conjunto de quatro arquivos de configuração é
incluído por padrão na pasta de ambiente dev para
configurar sua implantação e todas as máscaras de depuração, ganchos de fluxo
ou servidores de destino necessários.
Configure os detalhes da implantação para o proxy de API helloworld no ambiente:
Posicione o cursor sobre o arquivo deployments.json e clique em .
O assistente de implantações é aberto.
Selecione o proxy de API helloworld para adicioná-lo à implantação e clique em OK.
O arquivo deployments.json é aberto no editor. O arquivo foi atualizado para incluir o proxy de API helloworld na matriz de implantação proxies:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-07 UTC."],[[["\u003cp\u003eThis guide focuses on configuring and deploying an environment, specifically for the \u003ccode\u003ehelloworld\u003c/code\u003e API proxy, within Apigee or Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves creating a 'dev' environment folder, where default configuration files are generated to manage deployment settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edeployments.json\u003c/code\u003e file is used to configure which API proxies, such as \u003ccode\u003ehelloworld\u003c/code\u003e, will be deployed to the designated environment.\u003c/p\u003e\n"],["\u003cp\u003eDeployment of the 'dev' environment results in a successful deployment message and the display of deployed application information within the emulators section.\u003c/p\u003e\n"],["\u003cp\u003ePrior to initiating the deployment process, it is recommended that the user has installed the Apigee Emulator.\u003c/p\u003e\n"]]],[],null,["*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\nConfigure and deploy an environment that includes the `helloworld` API proxy.\n| **Note:** Before deploying an environment, ensure that you have [installed the Apigee Emulator](/apigee/docs/api-platform/local-development/vscode/manage-apigee-emulator#install).\n\n1. Create an environment:\n 1. Position your cursor over the **environments** folder and click .\n\n The **Create environment** wizard opens.\n 2. Enter **dev** for the environment name and press **Enter** .\n\n The environment is created.\n 3. Expand the **dev** environment folder to view its contents.\n\n When you create an environment, a set of configuration files are\n included by default in the `dev` environment folder for\n configuring your deployment and any required debug masks, flow hooks,\n or target servers.\n2. Configure the deployment details for the `helloworld` API proxy in the environment:\n 1. Position your cursor over the **deployments.json** file and click .\n\n The Deployments wizard opens.\n 2. Select the **helloworld** API proxy to add it to the deployment and click **OK** .\n\n The `deployments.json` file is opened in the editor. The file has been updated to include the `helloworld` API proxy in the `proxies` deployment array: \n\n ```\n {\n \"proxies\": [\n {\n \"name\": \"helloworld\"\n }\n ],\n \"sharedflows\": []\n }\n ```\n3. Deploy the **dev** environment:\n 1. Position your cursor over the **dev** environment folder in the Apigee section and click .\n\n | **Note:** If prompted to select a test bundle to export, click **Deploy without a test bundle** . This prompt displays only if you have created a test bundle in your Apigee workspace. You'll create and export a test bundle in the next step. \n\n The `dev` environment is deployed and the **Output** tab shows a success message.\n\n The `helloworld` deployed application information is displayed in the **emulators** section:\n\n**Congratulations!** You've deployed your first API proxy application. In the next step, you'll test the API proxy using curl.\n\n\n[1](/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[(NEXT) Step 4: Test your API](/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"]]