Configuration
Learn how to configure the Acme SDK for different environments and use cases.
API Credentials
The SDK requires an API key for authentication. Get your key from the Acme Dashboard.
;
;
Environment Variables
We recommend using environment variables for sensitive configuration:
# .env
ACME_API_KEY=sk_live_xxxxx
ACME_API_VERSION=v3
ACME_TIMEOUT=30000
;
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | required | Your Acme API key |
apiVersion | string | "v3" | API version to use |
timeout | number | 30000 | Request timeout in ms |
retries | number | 3 | Number of retry attempts |
baseUrl | string | "https://api.acme.dev" | API base URL |
Environment-Specific Config
Development
;
Production
;
TypeScript Support
The SDK includes full TypeScript definitions:
;
;
;
;
Next Steps
See API Reference for available methods and types.