Skip to main content
Agent Gateway

How to Create an Agent Gateway API Key

Agent Gateway lets outside apps talk to your agents through an API. Here's how to create a key and find the setup guide.

Written By Fred Yalmeh

Last updated About 1 month ago

Agent Gateway lets outside apps talk to your agents through an API. Let's create a key and find the setup guide.

2. Open the Operate Hub

In the sidebar, click the Operate icon.

3. Open Agent Gateway

Then click Agent Gateway. You'll see your endpoint, keys, and stats.

4. Start a New Key

Click Create API Key in the top right.

5. Name the Key

Give the key a name, like Checkout agent.

6. Allow Transact

Under Permissions, tick what the key can do. Transact lets an agent place orders.

7. Allow Status

Status lets it check on an order's progress.

8. Generate the Key

Leave the rate limit and expiry as they are, or change them. Then click Generate Key.

9. Copy the Key

Copy the key now. It won't be shown again.

10. Close the Dialog

Then click Done. Store the key somewhere safe.

11. Review Your Keys

The API Keys tab lists every key, with its permissions and rate limit.

12. Open the Setup Guide

The Setup guide walks you through connecting your agent.

13. Copy the Checkout Request

Scroll down and click Copy to grab the request that creates a checkout session.

14. Copy the Payment Request

The second Copy grabs the request that completes the payment.

15. Open Request Logs

Request Logs shows every call your agents make through the gateway.