⏱️ 5 min read

Quickstart Guide

Go from zero to your first API response in just a few minutes. Let's build something amazing.

1 Get API Key
2 Install SDK
3 First Request
4 Next Steps
1

Get Your API Key

First, you'll need an API key to authenticate your requests. Sign up for a free account to get started with $20 in credits.

💡 Tip

Your API key is like a password. Never share it publicly or commit it to version control. Use environment variables instead.

  1. Go to Sign Up and create your account
  2. Navigate to Dashboard → API Keys
  3. Click "Create New Key" and copy your secret key

Your key will look something like this:

API Key
sk-mythic-xxxxxxxxxxxxxxxxxxxxxxxxxxxx
2

Install the SDK

Install the MythicDot SDK for your preferred language. We support Python, JavaScript/TypeScript, Go, and more.

Terminal
# Install the Python SDK
pip install mythicdot

# Or with npm for JavaScript
npm install @mythicdot/sdk

Set your API key as an environment variable:

Terminal
# Linux/Mac
export MYTHICDOT_API_KEY="sk-mythic-xxxxxxxxxxxx"

# Windows PowerShell
$env:MYTHICDOT_API_KEY="sk-mythic-xxxxxxxxxxxx"
3

Make Your First Request

Now let's send your first message to MythicDot. Here's a simple example that generates a response.

Python
from mythicdot import MythicDot

# Initialize the client
client = MythicDot()

# Send a message
response = client.chat.completions.create(
    model="mythic-4",
    messages=[
        {"role": "user", "content": "Hello, MythicDot!"}
    ]
)

print(response.choices[0].message.content)

📤 Expected Response

Hello! I'm MythicDot, your AI assistant. How can I help you today?

🎉 Congratulations!

You've just made your first API call! The response above shows the AI's reply to your message.

What's Next?

Need Help?

Stuck or have questions? Our team and community are here to help.