QUICK START • GET STARTED

Quick Start

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.

Prerequisites

  • • Node.js 16+ or Python 3.8+ installed
  • • A Synqly account (sign up for free)
  • • Basic knowledge of REST APIs
1

Installation

Install the Synqly SDK using your preferred package manager:

Terminal
npm install synqly
2

Get Your API Key

Sign up for a free Synqly account and generate your API key from the dashboard:

1

Sign up at synqly.xyz

Create your free account in seconds

2

Navigate to API Keys

Go to Dashboard → API Keys

3

Create New Key

Click "New API Key" and copy your key

3

Make Your First Request

Now let's make your first API call. Here's a simple example using Node.js:

index.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();

That's it! 🎉

You've successfully made your first request to Synqly. The response will contain the AI-generated content from Claude.

4

Switch Providers

The beauty of Synqly is how easy it is to switch between AI providers. Just change the provider parameter:

Claude
provider: 'anthropic',
model: 'claude-sonnet-4'
GPT-4
provider: 'openai',
model: 'gpt-4'
Gemini
provider: 'google',
model: 'gemini-pro'
Cohere
provider: 'cohere',
model: 'command'