Skip to main content
Docs
Authentication

Authentication

Set up your Elyxir account, configure security settings, and manage access.

Elyxir provides flexible authentication options for both the Studio web interface and API access.

Account Creation

Sign Up with Email

  1. Navigate to studio.elyxir.ai
  2. Click Sign Up
  3. Enter your email address and create a strong password
  4. Check your inbox for a verification email
  5. Click the verification link to activate your account

Sign Up with Google

  1. Navigate to studio.elyxir.ai
  2. Click Continue with Google
  3. Select your Google account
  4. Grant the requested permissions

Sign In

Email Sign In

  1. Go to studio.elyxir.ai
  2. Enter your email and password
  3. Click Sign In

Google Sign In

  1. Go to studio.elyxir.ai
  2. Click Continue with Google
  3. Select your account

Security Settings

Access security settings from Settings > Account > Security.

Password Management

  • Change Password: Update your password at any time
  • Password Requirements: Minimum 8 characters, mix of letters and numbers recommended

Two-Factor Authentication (2FA)

Add an extra layer of security to your account:

  1. Go to Settings > Account > Security
  2. Click Enable Two-Factor Authentication
  3. Scan the QR code with your authenticator app (Google Authenticator, Authy, etc.)
  4. Enter the verification code to confirm
  5. Save your backup codes securely

Session Management

View and manage active sessions:

  1. Go to Settings > Account > Security
  2. View all active sessions with device and location info
  3. Click Revoke to end any suspicious sessions
  4. Click Revoke All to sign out everywhere except your current session

API Authentication

API requests use Bearer token authentication with your Elyxir API key.

Getting Your API Key

  1. Go to Settings > API Keys in Studio
  2. Click Create API Key
  3. Name your key (e.g., "Production", "Development")
  4. Copy the key immediately - it's only shown once

Using Your API Key

Include your API key in the Authorization header:

curl -X POST https://api.elyxir.ai/v1/chat/completions \
  -H "Authorization: Bearer elyxir_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-4o-mini", "messages": [{"role": "user", "content": "Hello"}]}'

API Key Format

Elyxir API keys follow this format: elyxir_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

  • Prefix: elyxir_ (7 characters)
  • Total length: 47 characters
  • Contains alphanumeric characters

API Key Security Best Practices

  • Never expose keys in client-side code - Keys should only be used server-side
  • Don't commit keys to version control - Use environment variables instead
  • Rotate keys periodically - Create new keys and delete old ones
  • Use separate keys per environment - Development, staging, and production should have different keys
  • Set appropriate rate limits - Protect against runaway costs

Organization Access

Roles and Permissions

RoleCapabilities
OwnerFull access, billing management, can delete organization
AdminManage members, API keys, and settings
MemberUse Studio features, view analytics

Inviting Team Members

  1. Go to Settings > Organization > Members
  2. Click Invite Member
  3. Enter their email address
  4. Select their role
  5. Click Send Invitation

Invitees will receive an email with a link to join your organization.

Next Steps

Authentication | elyxir