---
layout: article
title: Quick start
description: Choose an Appwrite partner integration model and make your first Console API call with OAuth connect or a Partners key.
---

This quick start helps you pick an integration path and make your first Console API call.

# Choose your integration model

| Model | Best for | Auth |
| ----- | -------- | ---- |
| [OAuth connect](/docs/partners/oauth-connect) | Users link existing Appwrite accounts | User consent via OAuth 2.0 |
| [Partners keys](/docs/partners/org-api-keys) | Your platform provisions resources in your organization | Partners key |

Use **OAuth connect** when your customers already use Appwrite and want to grant your product access to their organizations.

Use a **Partners key** when your platform creates and manages the projects inside an organization you control. Each project's own resources need a project API key, covered in [Project](/docs/partners/project).

# Prerequisites

- An Appwrite Cloud account with an organization
- A server-side environment to store secrets (API keys or OAuth client credentials)
- An [Appwrite server SDK](/docs/sdks#server) for Node.js, Rust, or another server language

# Step 1: Initialize the Organization service

Partner integrations run on your backend. A Partners key belongs to one organization, so pass the organization ID with the key. The client sends no project ID.

```server-nodejs
import { Client, Organization } from 'node-appwrite';

const client = new Client()
    .setEndpoint('https://cloud.appwrite.io/v1')
    .setOrganization('<ORGANIZATION_ID>')
    .setKey(process.env.APPWRITE_PARTNERS_KEY);

const organization = new Organization(client);
```
```server-rust
use appwrite::client::Client;
use appwrite::services::Organization;

let client = Client::new()
    .set_endpoint("https://cloud.appwrite.io/v1")
    .set_organization("<ORGANIZATION_ID>")
    .set_key(std::env::var("APPWRITE_PARTNERS_KEY")?);

let organization = Organization::new(&client);
```

**Never expose secrets in client apps**

Partners keys and OAuth client secrets must stay on your server. Use your backend to call Console APIs and project APIs on behalf of users.

# Step 2: List or create a project

A Partners key acts on one organization, so `listProjects` and `createProject` take no organization parameter.

```server-nodejs
import { ID } from 'node-appwrite';

const list = await organization.listProjects();

const created = await organization.createProject({
    projectId: ID.unique(),
    name: 'Customer workspace',
    region: 'fra',
});
```
```server-rust
use appwrite::enums::Region;
use appwrite::id::ID;

let list = organization.list_projects(None, None, None).await?;

let created = organization
    .create_project(ID::unique(), "Customer workspace", Some(Region::Fra))
    .await?;
```

# Step 3: Manage project resources

After you have a project, initialize a second client with `setProject()` and a project API key, then manage databases, storage, functions, and other services inside that project. See [Project](/docs/partners/project).

# Next steps

- [Set up OAuth connect](/docs/partners/oauth-connect/setup): Register an OAuth app and request access to user organizations.
- [Configure Partners key scopes](/docs/partners/org-api-keys#scopes): Grant only the Console scopes your platform needs.
- [Create a project](/docs/partners/project/create): Provision a project per customer from your backend.
