ChatGPT with Caddey

Learn how to create a custom GPT in ChatGPT that integrates with Caddey.


This guide provides detailed instructions on creating a custom GPT in ChatGPT that integrates with Caddey, enabling your ChatGPT assistant to query and execute app tools. This setup requires a ChatGPT Plus/Pro subscription and an active Caddey agent with its API key.

Prerequisites

  • ChatGPT Plus/Pro Subscription: Access to custom GPT features.
  • Caddey account: A Caddey account to create an agent and connect tools.

Step 1: Create a Caddey Agent

Before integrating with ChatGPT, ensure you have an active agent in Caddey:

  1. Log in to your Caddey account.
  2. Navigate to the Agents section in the dashboard.
  3. Click Add Agent to create a new agent.
  4. Enter the required details (e.g., agent name and description) and save.
  5. Copy the API Key: Once the agent is created, its API key will be displayed temporarily. Copy and store this key securely—it will be needed for authentication in ChatGPT.

Step 2: Access the Custom GPT Builder in ChatGPT

  1. Log in to your ChatGPT account.
  2. Navigate to Explore GPT's.
  3. Click the Create button to create a new GPT.

Step 3: Configure GPT Details

  1. Title:
    Enter a name for your custom GPT integration (e.g., Caddey).

  2. Description:
    Provide a brief description such as: Bring your tools to ChatGPT

  3. Customize
    Provide instructions, conversation starters, and capabilities according to your needs.

Step 4: Create action

  1. Navigate to Create new action in the custom GPT builder.
  2. For authentication, choose API key and auth type Custom with header name X-API-KEY. Paste your agent API key in the API key field.
  3. For the schema, choose Import from URL. Enter the URL:
    https://api.caddey.ai/v3/api-docs/tools
  4. Confirm the import. ChatGPT will load and recognize the following endpoints:
    • GET /tools/query – to search and paginate through available tools.
    • POST /tools/{toolId}/execute – to execute a specific tool with JSON input.

Step 5: Test Your Integration

  1. Query Tools:
    Use the preview in the custom GPT builder to ask what tools are available. ChatGPT should respond with some of the tools in the toolboxes you assigned to your agent.
  2. Execute a Tool:
    Now ask ChatGPT to use one of the available tools. If required for the tool, provide ChatGPT with relevant input.

Finalize and Deploy

Once all tests are successful, save your custom GPT integration. You can now talk to the Caddey GPT to use your tools.

Need assistance? Visit the Support Section.