Quickstart Guide
Get up and running with Syndicate Gate in minutes.
1. Generate an API Key
Log in to the Syndicate Gate dashboard and navigate to the API Keys section. Create a new key. Your key will begin with sk-sg-. Keep this secure.
2. Update Your Client
Syndicate Gate accepts OpenAI-compatible requests and enforces identity, policy, budget, and audit controls before provider execution.
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://syndicategate.ca/v1',
apiKey: 'sk-sg-your-api-key',
});
const response = await client.chat.completions.create({
model: 'anthropic/claude-3-5-sonnet',
messages: [{ role: 'user', content: 'Hello from Syndicate Gate!' }],
});3. Model Addressing
As shown above, you can access models across different providers by prefixing the provider name (e.g., anthropic/, google/, meta/).