Stammer.ai Docs
  • Welcome
    • 👋Welcome to Stammer.ai
    • 📑About Stammer.ai
    • 🆕New/ Latest Updates
  • START HERE
    • ❓What is Stammer.ai?
    • 🫡Agency Quick Start Guide
    • 📚Glossary
    • 🤑Our Community
  • AI Features
    • 🤖AI Agents (Chatbots)
      • How AI Agents Work
      • How to Build an AI Agent
    • 🔃AI Agent Dashboard
      • (White Label) Marketplace
      • Default Chatbot
      • Share Chatbot
      • Clone Chatbot
      • Chatbot UUID
      • Delete Chatbot
      • Summary (Analytics)
    • 💬Conversations
      • Review Past Conversations
      • Conversation Links
      • Training Better Responses
      • Live Chat
        • Human Handoff Automation (for Live Chat)
    • 📚Knowledge Base Explained
      • 💽Data Storage (Characters)
        • Storage (Characters) Example
      • Copy & Paste Text
      • Upload Documents
      • Scrape Websites
        • 24-hour Auto-Scraping
        • Scraping a Google Doc
        • Google Docs
      • Question & Answer Pairs
      • Data & Content Security
      • Citations/ Sources
      • HTML Rendering (Embed Images & Videos)
    • ✍️Prompting
      • What is a Base System Prompt?
      • Writing a Base System Prompt
      • Prompt Examples (Marketplace)
        • Base System Prompt Template (General)
    • 🔧AI Agent Settings
    • 🎨AI Chat Widget
      • Customize Chat Widget Apperance
      • Chat Widget Pop-Up
      • Initial Messages Pop-Up
      • Chat Widget Voice
    • ⚙️Advanced Settings for AI Agent
      • Model Version
      • Prioritize Question/Answer Results
      • Chatbot Visibility
      • Temperature
      • Message Template
      • Support Email
      • Domains
      • Show Data Sources in Chat Widget
      • Debug Mode
    • Leads 2.0
    • 📈Leads (Legacy)
      • Overview of Lead Generation
      • Lead Collection Form Fields
      • Lead Collection Webhook URL
      • Lead Collection Email Notification
      • In Chat Lead Collection Base System Prompt
      • Sending Lead Data to Zapier
      • Sending Lead Data to GHL
      • Sending Lead Data to Zoho CRM
    • 📅Scheduling
      • AI Scheduling - Simplified
      • AI Scheduling - Experimental (Beta)
        • What is Scheduling?
        • Calendar Integration
          • Google Calendar
        • Appointment Scheduling Activation
        • Appointment Scheduling Webhook URL
        • Appointment Scheduling Email Notification
        • Appointment Scheduling Base System Prompt
        • The Appointment Scheduling Functions & Customizing the Appointment Scheduling Prompt
    • 🧊Integrations
      • Embed Chatbot on a Website
      • Zapier App
      • GoHighLevel (GHL)
      • Instagram DM
      • Facebook Messenger
      • WhatsApp
      • ElevenLabs Voice
      • Discord
    • 🤖Troubleshooting
      • How to Respond in Any Language
      • Responses are Too Long
      • Debug Mode
      • Clickable Links in Responses
    • 🌌Functions (Labs)
      • Custom Functions
        • How Custom Functions Work
        • Code Generation Prompt for Custom Functions
        • Stock Market Data - Custom Function
        • Shopify - Custom Function
        • Airtable - Custom Function
        • Google Sheets - Custom Function
    • 🔄Vault
      • OpenAI API Key (ChatGPT)
      • Anthropic API Key (Claude)
      • xAI API Key (Grok)
      • Eleven Labs API Key
  • 👑MasterChat
  • White Label
    • 🤑What is White Labeling?
    • 👤Client Sub-Accounts
      • Create Sub-Account
      • Sub-Account Wallet
      • Sub-Account Storage Balance
      • Sub-Account Extra AI Agents
      • How to clone a chatbot to a sub-account
    • 🔗Custom Domain
      • Troubleshooting Custom Domain Deployment DNS Issues
    • 🏗️The SaaS Configurator
      • Create Subscription Package
        • Custom Packages + Settings
      • Add-Ons
        • Storage (Characters) - Add Ons
        • AI Agent Rebilling - Add Ons
        • MasterChat - Add Ons
        • Advanced Scraper - Add Ons
    • 👍White Label API
      • API Documentation
      • AI Agent API
        • Message AI Agent
        • Create AI Agent
        • Retrieve AI Agent
        • Update AI Agent
        • Delete AI Agent
      • Knowledge Base API
        • Add AI Agent Q/A
        • Add URLs to Scrape
        • Add Files (Pdf, Doc etc.)
      • Conversations
        • AI Agent Conversations
        • Retrieve Conversation
        • Delete A Conversation
      • Sub-Accounts
        • Create Sub-Account
        • Retrieve Sub-Account
        • Update Sub-Account
        • Delete Sub-Account
      • User
        • Retrieve User's Data
      • Examples
        • Create New Sub-Account (Zapier Example)
        • White Label API x Zapier X Slack Example
        • AI Chatbot Chrome Extension
    • 👾White Label (Your) Marketplace
    • 😇White Label Free Trials
      • Free Trial Settings (No CC Req.)
      • Free Trial Settings (CC Req.)
    • 🎨Custom Dashboard Styling
  • Agency Settings
    • ⛳Agency Dashboard
    • 👥User Permissions
    • 😎Agency Profile
    • 👥User Access
    • 💳Connect Stripe
    • 🔗Custom Menu Links
    • 🤘Default Prompts
  • Account Management
    • ⚙️Billing Usage & Settings
    • 💲Agency Billing
      • Subscription Plans
      • Change Subscription Plan
      • Update Credit Card
      • Download Invoice
      • Refunds
      • Cancel Subscription
    • 💱Agency Wallet
      • The Agency Wallet System
      • Agency vs Sub-Account Wallet
      • Auto Billing
      • Add Funds to Wallet
      • AI Messages Costs
      • AI Agents Costs
      • Storage (Characters) Costs
    • 🤲Admin Account Profile
      • Change Password
      • Google Auth Login
  • Support
    • 🤝Need Help?
    • 🔓Security & Compliance
      • Data Privacy & Security Report
      • GDPR
      • Terms & Conditions
      • Privacy Policy
      • Data Processing Agreement
      • AI Model Data Usage
      • Service Level Agreement
    • ⚡Discord Community
    • 📹Weekly Office Hours
    • 🙌FAQ
      • General
      • Localization
      • Data/Security
      • Set Up
      • Password
      • Technical Questions
      • Sales/Onboarding
      • Marketing/Pricing
      • Where can I find...?
      • Other
      • Alternatives to Stripe Connect
    • 📰Changelog/ Roadmap
    • 🍭Resources
      • Sales Deck
      • 💰AI Agency 101
        • How to Price Your AI Chatbots
        • How to Get More Clients
        • The Value Proposition of AI Agents
        • AI SaaS Funnel Explained
    • 🤑Affiliate Program
Powered by GitBook
On this page
  • How to Access Your OpenAI API Key
  • 1. Open an OpenAI account
  • 2. Set up billing (first‑time users only)
  • 3. Make your secret key
  • 4. Plug the key into Stammer.ai Vault
  • 5. Organization Verification
  • 6. Need more juice?
  • Support links
  1. AI Features
  2. Vault

OpenAI API Key (ChatGPT)

Agencies who are subscribed to Stammer.ai's Agency, Full SaaS Mode or Enterprise plans are able to use their own OpenAI API key for generating the responses.

PreviousVaultNextAnthropic API Key (Claude)

Last updated 20 hours ago

When an OpenAI API key has been enabled, the agency will pay OpenAI directly for usage instead of Stammer.ai.

When you have your API key enabled, your cost per AI message sent will vary greatly depending on the length of the query, length of the message response, size of the prompt, data in knowledge base and conversation history.

Benefits of using your own API key

  1. Added functionality (MasterChat)

  2. Cheaper cost per message

  3. When using your API key, increased context from Prompt & KB

Why would I want to use my own API key?

Using your own OpenAI API key will reduce your overall usage cost since you are paying OpenAI a variable cost directly instead of paying Stammer.ai a static cost per message (ex: GPT-4o = $0.02 /message).

How to Access Your OpenAI API Key

1. Open an OpenAI account

  1. Go to https://platform.openai.com.

  2. Click Sign up.

  3. Use Google, Microsoft, or any email you like.

  4. Check your inbox for the verification email and click the link.

Tip: Use a work email tied to your agency so the billing receipts land in the right place.


2. Set up billing (first‑time users only)

  1. While logged in, hit Billing in the left menu.

  2. Click Add payment method.

  3. Enter a credit card that can handle pay‑as‑you‑go charges.

  4. Save. Done.

Why bother? Without a card on file your key will hit a hard cap after $5 of usage. That hits faster than you think.


3. Make your secret key

  1. In the sidebar click API Keys.

  2. Press + Create new secret key.

  3. Name it something clear like stammer‑agency‑main.

  4. Click Create.

  5. Copy the long string that pops up. You will not see it again.

Safety check: Paste the key into the Stammer.ai Vault right away or store it in a password vault. Never email it or drop it in Slack.


4. Plug the key into Stammer.ai Vault

  1. Log in to your Stammer.ai dashboard.

  2. Go to Agency → Vault → OpenAI API Key.

  3. Paste your OpenAI key.

  4. Click Verify & Save.

Run a quick test chat. If the reply comes back, you are set.


5. Organization Verification

Why verify? It lets you try OpenAI’s newest models like o1, o3, o3-mini, o4-mini.

  1. Head to https://platform.openai.com/settings/organization/general.

  2. Click Verify Organization and follow the prompts.

You’ll need:

  • A valid government‑issued ID from a supported country.

  • One org per ID every 90 days.

If verification isn’t offered yet, no stress — keep using the API and check back later. After you finish, give it up to 30 minutes for keys to refresh, or just make a new key for instant access.


6. Need more juice?

  • Higher rate limits: File a ticket inside the OpenAI dashboard if you start getting “rate limit” errors.

  • Set spend caps: In Billing → Usage limits you can set hard or soft limits so there are no bill shocks.


Support links

  • OpenAI docs: https://platform.openai.com/docs

  • OpenAI status page: https://status.openai.com

  • Stammer.ai support: contact@stammer.ai


That’s it. Your agents now have a direct connection with OpenAI for increased context and functionality.

🔄
Learn more here