Skip to main content
Get started with Gloo AI Studio. This walks you through what to expect when you create an account as well as how you can make your first API call.

Step 1: Create Your Account & Organization

Start by creating your account at Gloo AI Studio. Once your email is verified, the onboarding wizard will guide you through setting up your organization:
  1. Create your Organization: Give your team a name to manage projects and collaboration.
  2. Invite your Team: (Optional) Add email addresses to invite collaborators immediately, or skip this step.
As the account creator, you are the Organization Admin. You can invite team members, create Publishers, and manage your organization at any time from the Studio sidebar. See the Admin Quickstart for a full walkthrough.

Step 2: Set Up Billing & Spend Limits

Adding a payment method is required to activate Studio on a Pay-As-You-Go plan. This unlocks API access and is a prerequisite for using the Studio Playground.
  • Add a Payment Method: Enter your credit card details to activate your account. You are only charged for what you use.
  • Set a Spend Limit: You can define a weekly spending limit (e.g., $50/week) to control costs. If you don’t set a limit, you’ll be capped at $100/week which is also the maximum you can spend in a week for the Pay-As-You-Go plan.
Want more details? See our comprehensive guides:
Once your payment method is added, continue below to generate API credentials. After your credentials are created, you can either call the API directly or open the Studio Playground to chat with models in the browser — both routes use the same credentials and count against your spend limit.

Step 3: Create Your API Credentials

The Gloo AI APIs use OAuth2 client credentials flow for authentication. To make an API call, you:
  1. Get API Credentials (Client ID and Client Secret) from Gloo AI Studio
  2. Use those credentials to get a short-lived access token
  3. Use the access token to authenticate your API calls
  4. Repeat step (2) whenever the access token expires
Here’s how to get your API credentials:
  1. Navigate to API Credentials in the Studio Dashboard.
  2. Copy the Client ID and Client Secret values if there are existing credentials, otherwise go to the next step.
  3. Click Create New Key to generate a Client ID and Client Secret.
Prefer using an SDK? Now that you have credentials, you can use the OpenAI Python or Node.js libraries with Gloo AI Studio. See Libraries & SDKs for a streamlined approach that handles token exchange for you.

Step 4: Generate an Access Token

Once you have a Client ID and Client Secret, you can generate an access token using one of the following methods:
The response will include an access token that you can use to authenticate your API calls. It should look like this:
Access tokens expire after one hour. Monitor the token’s expiration by checking the ‘exp’ claim in the JWT payload. Since refresh tokens are not provided with client credentials, you will need to request a new access token when the current one expires.

Step 5: Make An API Call

Using the get_access_token function from Step 4, make a call to the Responses API, the recommended endpoint for OpenAI-compatible, multimodal integrations.
The response should look like this:
Prefer routing, values-aligned (tradition) responses, or grounded/RAG completions? Use Completions V2 — it’s fully supported and backwards-compatible.

Next Steps

Libraries & SDKs

Use the OpenAI Python or Node.js SDK with Gloo AI to skip the manual token exchange code.

Supported Models

Explore all available models and their capabilities.

GlooCode

Use your credentials with GlooCode — an AI coding agent that plans, builds, and tests from your terminal.