Quick start
Set up a project and model Provider and get a pilot user to the first model response.
This page takes an organization administrator through the minimum setup for one pilot user to receive a first model response from AI Gateway. The model setup is required. Configure MCP at the end only when the license includes MCP Gateway.
Before you begin
Section titled “Before you begin”- An installation engineer has completed installation and bootstrap, and you are signed in as the first organization administrator.
- A license is installed. A paid license needs at least one seat for the pilot user.
- Prepare the API key for the Provider you will use. This page uses OpenAI as the example.
- Check that the pilot user can sign in to the organization. Their first sign-in registers them as a member.
- If you plan to use MCP, the license must include MCP Gateway.
Open the admin console from the Organization settings tab at the top of the screen. Paths such as Organization → Members on this page are groups and items in the admin console’s left menu.
Only an organization administrator (org-admin) can set up the license, Providers, and seats. If you have only project administrators, ask an organization administrator for the license, seat, and Provider setup, and work through the project setup and first request together.
1. Check the license and seats
Section titled “1. Check the license and seats”Open System → License in the admin console. The System group is collapsed at the bottom of the left menu.
- Check that Validity period has not passed.
- Check that Purchased seats is at least the number of pilot users. A PoC license does not count seats, so you can skip this check.
- If you plan to use MCP, check that Included features contains MCP Gateway.

If the license has expired or was issued for another installation, handle License management and recovery first. An organization administrator can use the admin console without a seat.
2. Create a project
Section titled “2. Create a project”In the admin console, open Organization → Projects, then select Create project.
- Enter a pilot name in Project name. For example,
gateway-pilot. - In Description (optional), note the pilot’s purpose or the team that owns the cost.
- Select Create project.

A project is the scope for model and MCP tool allowances and for Gateway Keys. If you already have a project to use, select it instead of creating one. See Manage projects for the fields and the screen after creation.
3. Connect a model Provider
Section titled “3. Connect a model Provider”- In AI resources → Model Providers, select Add provider.
- Enter a Name. This name becomes the prefix of model IDs. For example, a Provider saved as
openaiis called asopenai/<model-id>. Only lowercase letters, digits, dots, underscores, and hyphens are allowed. - Choose OpenAI for Provider type. Leave Base URL as it is, and enter the OpenAI API key in Credential.
- Use Test connection to check the key and address, then select Save provider.

Saving reads the Provider’s model list. If you use a private network or private CA, check Provider network settings first. See OpenAI for type-specific settings and Connect model Providers for the common flow.
4. Allow models in the project
Section titled “4. Allow models in the project”- Open the project, then go to Project settings → Access Control → Model Access Control.
- Under Project-wide, select Edit allowed models.
- Select the models the pilot user will use and close the sheet. Search and filters narrow the list.
- Select Save on the page.

Saving a Provider does not let anyone call a model until you allow it. If a model is missing, select Check for model updates on the Provider’s Models page, or check that the Provider is visible to this project. See Allow models in projects and Provider project visibility.
5. Give the pilot user a seat and ai-user
Section titled “5. Give the pilot user a seat and ai-user”- In Organization → Members, grant the pilot user a seat in the Seat column. A PoC license skips this step.
- In the project’s Access Control → Role assignments, select Create role assignment.
- Choose the
ai-userrole and the pilot user as the subject, then save.

org-admin does not grant AI use. An organization administrator also needs the ai-user role in this project to call models. Without a seat, the console opens but shows the You don’t have a seat notice, and model and MCP requests are refused. See Let registered members use the gateway and Role bindings.
6. Verify the first model request
Section titled “6. Verify the first model request”Verify with your own administrator account first. If the license has only one seat and you cannot assign another to yourself, skip this section and verify with the pilot user in step 7.
- For verification, give yourself the
ai-userrole and grant yourself a seat in Organization → Members. A PoC license skips the seat. - In the project’s Models, select the gear icon in the Installation column of the model the pilot will use. Check the Gateway base URL and Model ID.
- In the project’s top menu, open Gateway Keys, select Issue key, and copy the secret with Copy secret. The key is shown only once.
- In a terminal, set the key as an environment variable and call the model list.
export AI_GATEWAY_API_KEY='<issued Gateway Key>'
curl -sS 'https://<gateway-host>/v1/models' \ -H "Authorization: Bearer $AI_GATEWAY_API_KEY"- If the response lists an allowed model ID, send a chat request.
curl -sS 'https://<gateway-host>/v1/chat/completions' \ -H "Authorization: Bearer $AI_GATEWAY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"<provider-name>/<model-id>","messages":[{"role":"user","content":"Hello"}]}'A response means the gateway path works. In Gateway Keys, Revoke the test key, then remove the temporary seat and ai-user role. A seat can be released while the key remains, so revoke the key first.
The last seat held by an organization administrator cannot be released. If the administrator who tested is the last active organization administrator, keep the seat and revoke only the test key.
| Symptom | What to check |
|---|---|
Authentication failed. (401) | Check that the key starts with agw_, that its status is Active, and that you ran the command in the terminal where you set the key. |
| The model is missing or the call is refused | Check your seat, the project’s ai-user role, and the model allowance in step 4. |
404 | Check that the model ID and Provider name match the values in Installation. |
For issuing and revoking keys, see Gateway Keys. For SDK examples, see OpenAI SDK.
7. Hand off to the pilot user
Section titled “7. Hand off to the pilot user”Ask the pilot user to follow these steps.
- Review the models and MCP tools they can use in the user introduction.
- Issue their own key in Gateway Keys.
- Connect Codex CLI in Set up an AI agent and check the first response.
The setup is complete when the pilot user receives a first model response with their own Gateway Key. Review requests and costs in Activity → Model Logs and Model pricing and costs. For other clients, see the AI agent setup guide.
Using MCP too
Section titled “Using MCP too”This section applies only when the license includes MCP Gateway. Without it, MCP Servers, MCP Access Control, and MCP Catalog are not shown.
- In AI resources → MCP Servers, add a server and complete its authentication, tool discovery, and activation. Register MCP servers
- In the project’s MCP Access Control, select the tools to allow for the pilot user and select Save. Allow MCP tools in projects
- The pilot user registers the gateway endpoint in their client with Set up MCP. For OAuth or per-user API key servers, they must connect their own account once in the MCP Catalog.
A pilot user calling an MCP tool completes the MCP path. Review MCP logs in Activity → MCP Logs.
- To add more pilot users, repeat the seat and
ai-usergrant in step 5, and have each user issue their own Gateway Key in the same project. - Manage project allowances and costs in Allow models in projects, Model pricing and costs, and Log retention.
- For organization user and team sync, see User provisioning.