Getting Started
Installation
Install the CLI tool:
npm install -g @elli/cli@latest
First Request
elli status --api-key=YOUR_API_KEY
Replace YOUR_API_KEY with your actual API token from the dashboard
Architecture Guide
System Overview
- REST API with WebSockets for real-time updates
- Global edge caching network
- Multi-tenant architecture
- Federated identity management
Key Features
- Automatic rate limiting per tenant
- Real-time analytics dashboard
- Multi-factor authentication
- Role-based access control
Performance
- 99.99% uptime SLA
- 500+ requests/sec per instance
- Auto-scaling with Kubernetes
- Global load balancer network
Security Best Practices
Authentication
- Always use HTTPS
- Rotate API keys every 30 days
- Implement OAuth2 with PKCE
- Enable rate limiting
Cryptography
- Use AES-256 for data at rest
- Always verify TLS certificates
- Enable HSM-backed encryption
- Use FIPS 140-2 compliant modules
Auditing
- Enable detailed logging
- Review access logs daily
- Perform monthly audits
- Use SIEM integration
Code Examples
Python SDK (Create User)
import elli
client = elli.Client(api_key="your_api_key")
response = client.users.create({
"email": "user@example.com",
"first_name": "Jane",
"last_name": "Doe",
"role": "developer"
})
print(response.user_id)
Node.js Example
const elli = require("elli")("your_api_key");
const elli = require("elli")("your_api_key");
elli.projects.query({team: "engineering"})
.then(results => {
console.log(`Found ${results.total} projects`);
results.items.forEach(project => {
console.log(`- ${project.name} [${project.id}]`)
});
})
.catch(err => {
console.error("API Error:", err.message);
if (err.response) {
console.error("Response Code:", err.response.status);
}
});