Follow the steps below to create and deploy a test API proxy. Finally, test the API proxy by sending an HTTP request to it.
Create and deploy an API proxy
Permissions required for this task
Creating and deploying proxies requires a minimum set of permissions. If you have the Apigee Org Admin role, you can complete this task. To learn about other roles you can employ, see Apigee roles.
The provisioning process for Apigee does not automatically create and deploy an API proxy for you. You must create and deploy a proxy manually.
Be sure that your organization name is selected from the drop-down menu in the upper left corner of the UI. The organization name is the same as your Google Cloud project name.
In the left navigation pane, click Proxy development > API proxies.
Click + Create.
The Create a proxy page opens.
In the Proxy template box, select Reverse proxy (most common).
In Step 1: Proxy details, configure your proxy with the following values:
Parameter name
Value
Proxy name
hello-world
Base path
/hello-world
Target (Existing API)
mocktarget.apigee.net
Click Next.
In Step 2: Deploy (optional):
Deployment environments: Optional. Use the checkboxes to select one or more environments in which to deploy your proxy. If you prefer not to deploy the proxy at this point, leave the Deployment environments field empty. You can always deploy the proxy later.
Service Account: Optional. Attach a service account to your deployment to enable your proxy to access Google Cloud services, as specified in the service account's role and permissions.
Click Create.
Your new API proxy is created and deployed in the selected environment.
The Proxy summary page for your newly created proxy opens. A green check mark under Status indicates that the proxy was successfully deployed. If the proxy is not deployed, see Deploying an API proxy and follow the steps to deploy it manually.
In the left navigation pane, select Management > Environments > Environment Groups.
Copy the hostname for your environment group. You'll use this hostname to call the API proxy in the next steps.
Be sure that your organization name is selected from the drop-down menu in the upper left corner of the UI. The organization name is the same as your Google Cloud project name.
Click API Proxies in the main view.
From the Select Environment drop-down list, select an environment.
Click Create new.
Click Reverse proxy (most common).
In the Proxy details page, configure your proxy with the following values:
Parameter name
Value
Name
hello-world
Base path
/hello-world
Target (Existing API)
https://mocktarget.apigee.net
Click Next.
In the Common policies page, under Security: Authorization select Pass through (no authorization).
Click Next.
On the Summary page, under Optional Deployment, select the environment in which to deploy the proxy.
Click Create and deploy.
Your new API proxy is created and deployed in the selected environment.
Click Go to proxy list. A green check mark under Status indicates that the proxy was successfully deployed. If the proxy is not deployed, see Deploying an API proxy and follow the steps to deploy it manually.
In the left navigation pane, select Admin > Environments > Groups.
Click View in Google Cloud console.
Copy the hostname for your environment group. You'll use this hostname to call the API proxy in the next steps.
Set up a DNS entry for your host. Here are two ways to accomplish this task:
At your registrar, create an A record pointing your environment group hostname to the IP shown on the wizard page under Configure DNS. For example, if your hostname is sales.example.com and the IP is 10.23.0.2, then point the record for sales.example.com to the address 10.23.0.2.
Use Google Cloud DNS to map a URL to an IP address.
Test the API proxy by sending the following request in a terminal window:
[[["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-04-24 UTC."],[[["This page provides instructions for creating and deploying a test API proxy in Apigee or Apigee hybrid environments, which can be done using either the Apigee UI in the Cloud console or the classic Apigee UI."],["Creating and deploying API proxies requires specific permissions, notably the Apigee Org Admin role, but alternative roles are detailed in the Apigee roles documentation."],["The process involves configuring a reverse proxy with a specified name, base path, and target API, then optionally deploying it to selected environments, with the created proxy being displayed in the Proxy Summary page."],["After deployment, you can test the API proxy by sending an HTTP request to it, either with internal or external access, by setting up a DNS entry and using the provided `curl` command with the correct environment group hostname."],["The page also suggests several next steps, such as taking a tour of Apigee tutorials for learning about guarding against traffic spikes and getting a detailed view of the request/response flow."]]],[]]