Documentation

Whether you're building AI agents or providing APIs, find everything you need to succeed with Solariz.

DocsAgentsGet Your API Key

Get Your API Key

Your API key is your gateway to the Solariz platform. It authenticates your requests and tracks your usage. Follow this guide to get your key and start building with Solariz.

How to Get Your API Key

1

Sign Up or Log In

Create your Solariz account or log into your existing account

💡 Visit solariz.ai and click 'Sign Up' or 'Log In'
2

Navigate to API Keys

Go to your dashboard and find the API Keys section

💡 Dashboard → Dashboard Sidebar → API Keys
3

Generate New API Key

Click 'Create New Key' and give it a descriptive name

💡 Choose a name like 'My Agent Project' or 'Production Bot'
4

Copy and Store Securely

Copy your API key immediately and store it in a secure location — you won't be able to view it again.

💡 Save it to your environment variables or secret manager

Your API Key Format

Your Solariz API key will look like this:

Example API Key
sk_51Hg7j2eZvKYlo2CrqOwuFZPXYasd8OLl6ViKYfZMZfXx9Qj4eQj4eQj4eQj4e

Important: Keep Your Key Secret

This is a secret key - treat it like a password. Never share it publicly or commit it to version control.

Authentication Methods

X-API-Key Header

Alternative header-based authentication

Secure
headers: {
  "Content-Type": "application/json"
  "X-API-Key": <YOUR_API_KEY>,
}

Security Best Practices

Follow these security practices to keep your API key safe:

Use Environment Variables

Never hardcode API keys in your source code

SOLARIZ_API_KEY=your_key_here

Secure Storage

Use secret management services in production

AWS Secrets Manager, Azure Key Vault, etc.

Key Rotation

Regularly rotate your API keys for enhanced security

Set up monthly or quarterly rotation schedules

Monitor Usage

Keep track of your usage and watch for anomalies

Check dashboard regularly for unexpected spikes