Get up and running with Synqly in less than 5 minutes. This guide will walk you through installation, authentication, and making your first API request.
Install the Synqly SDK using your preferred package manager:
npm install synqlySign up for a free Synqly account and generate your API key from the dashboard:
Sign up at synqly.xyz
Create your free account in seconds
Navigate to API Keys
Go to Dashboard → API Keys
Create New Key
Click "New API Key" and copy your key
Now let's make your first API call. Here's a simple example using Node.js:
import { Synqly } from 'synqly';
const ai = new Synqly({
apiKey: process.env.SYNQLY_API_KEY
});
async function main() {
const response = await ai.chat.create({
provider: 'anthropic',
model: 'claude-sonnet-4',
messages: [
{ role: 'user', content: 'Hello! Explain AI in one sentence.' }
]
});
console.log(response.content);
}
main();You've successfully made your first request to Synqly. The response will contain the AI-generated content from Claude.
The beauty of Synqly is how easy it is to switch between AI providers. Just change the provider parameter:
provider: 'anthropic', model: 'claude-sonnet-4'
provider: 'openai', model: 'gpt-4'
provider: 'google', model: 'gemini-pro'
provider: 'cohere', model: 'command'