Step 3: Configure and deploy an environment

This page applies to Apigee and Apigee hybrid.

View Apigee Edge documentation.

Configure and deploy an environment that includes the helloworld API proxy.

  1. Create an environment:
    1. Position your cursor over the environments folder and click Create apigee environment icon.

      + displays when you position the cursor over environments folder

      The Create environment wizard opens.

    2. Enter dev for the environment name and press Enter.

      The environment is created.

    3. Expand the dev environment folder to view its contents.

      Environments folder with deployments.json, flowhooks.json, and targetservers.json files

      When you create an environment, a set of configuration files are included by default in the dev environment folder for configuring your deployment and any required debug masks, flow hooks, or target servers.

  2. Configure the deployment details for the helloworld API proxy in the environment:
    1. Position your cursor over the deployments.json file and click Configure deployment details icon.

      settings icon displays when you position the cursor over deployments.json folder

      The Deployments wizard opens.

    2. Select the helloworld API proxy to add it to the deployment and click OK.

      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:

      {
        "proxies": [
          {
            "name": "helloworld"
          }
        ],
        "sharedflows": []
      }
  3. Deploy the dev environment:
    1. Position your cursor over the dev environment folder in the Apigee section and click Deploy Apigee environment icon.

      Deploy icon displays when you position the cursor over dev environment folder

    The dev environment is deployed and the Output tab shows a success message.

    The helloworld deployed application information is displayed in the emulators section:

    Apigee Emulator showing deployed helloworld application and active test resources

Congratulations! You've deployed your first API proxy application. In the next step, you'll test the API proxy using curl.

1 2 3 (NEXT) Step 4: Test your API 5 6 7 8