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
  • Step 1: Sign Up or Log In to xAI
  • Step 2: Create a Team
  • Step 3: (Optional) Purchase API Credits
  • Step 4: Generate an API Key
  • Step 5: Paste API Key in Stammer.ai Vault
  1. AI Features
  2. Vault

xAI API Key (Grok)

PreviousAnthropic API Key (Claude)NextEleven Labs API Key

Last updated 1 day ago

Step 1: Sign Up or Log In to xAI

  1. Navigate to .

  2. If you don’t have an account:

    • Click Sign Up and provide your email address, password, and other required details.

    • Verify your email by clicking the link sent to your inbox.

  3. If you have an account, click Sign In and log in using your credentials or authenticate via your X (Twitter) or Google account.

Step 2: Create a Team

  1. After logging in, you’ll be prompted to create a team (required for API access).

  2. Enter a Team Name and a brief Description.

  3. Click Create Team. You can skip inviting team members if working solo.

  4. Once created, you’ll be redirected to the xAI Console dashboard.

Step 3: (Optional) Purchase API Credits

  1. During the public beta (until the end of 2024), xAI provides $25 in free monthly API credits, so you may not need to purchase credits immediately.

  2. If you need additional credits:

    • Go to the Billing section in the xAI Console.

    • Click Credits and select Purchase Credits.

    • Set up your billing profile and payment method, then purchase the desired amount of credits.

    • Note: Teams spending at least $5 and opting into data sharing may be eligible for $150 in monthly free credits (check country eligibility).

Step 4: Generate an API Key

  1. From the xAI Console dashboard, navigate to the API Keys section.

  2. Click the Create API Key button. A dialog window will open to customize permissions (Access Control Lists or ACLs).

  3. Select the appropriate permissions:

    • For general Grok access (e.g., chat completions), choose chat:write.

    • For raw Grok-1 model sampling, choose sampler:write.

    • Note: Permissions affect token usage, so select only what you need.

  4. Click Save to generate the API key.

  5. The new API key will appear in the list. Click the Copy button to save it securely.

Step 5: Paste API Key in Stammer.ai Vault

  1. Log in to your Stammer.ai dashboard.

  2. Go to Agency β†’ Vault β†’ OpenAI API Key.

  3. Paste your Grok API key.

  4. Click Verify & Save.

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

πŸ”„
console.x.ai