Getting Started
Authentication
Learn how to authenticate with the Electron Hub API
The Electron Hub API uses API keys for authentication. You’ll need to include your API key in the Authorization
header of every request.
Getting Your API Key
- Visit the Electron Hub Console
- Sign up or log in to your account
- Navigate to the API Keys section
- Generate a new API key
- Copy and securely store your API key
Keep your API key secure and never share it publicly. Treat it like a password.
Using Your API Key
Include your API key in the Authorization
header with the Bearer
prefix:
Environment Variables
For security, store your API key as an environment variable:
Then use it in your code:
API Key Management
- Regenerate Keys: You can regenerate your API key at any time in the console
- Multiple Keys: Create separate keys for different environments (development, production)
- Monitor Usage: Track your API usage in the console dashboard
Rate Limiting
API keys are subject to rate limits based on your plan. See our rate limits guide for more information.