> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clientcommander.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get started with Client Commander in under 5 minutes

## 1. Get your API Key

To start building, you'll need an API key.

1. Log in to your [Client Commander Dashboard](https://workspace.clientcommander.com)
2. Go to **Admin > API Keys**
3. Click "Create New Key"
4. Copy the key (it starts with `ccmd_live_`) behavior

## 2. Install the SDK

The easiest way to interact with the API is using our official TypeScript SDK.

<CodeGroup>
  ```bash npm theme={null}
  npm install @clientcommander/sdk
  ```

  ```bash pnpm theme={null}
  pnpm add @clientcommander/sdk
  ```

  ```bash yarn theme={null}
  yarn add @clientcommander/sdk
  ```
</CodeGroup>

## 3. Make your first request

Create a file named `index.ts` and add the following code:

```typescript index.ts theme={null}
import { ClientCommander } from '@clientcommander/sdk';

const cc = new ClientCommander({
  apiKey: 'ccmd_live_...' // Replace with your key
});

async function main() {
  // 1. Create a contact
  const contact = await cc.people.createOrUpdatePerson({
    firstName: 'John',
    lastName: 'Doe',
    email: 'john@example.com',
    phone: '+15550109988'
  });
  
  console.log('Created contact:', contact.data.id);

  // 2. Add a task for them
  await cc.tasks.createTask({
    personId: contact.data.id,
    name: 'Follow up call',
    type: 'Call',
    dueDate: new Date(Date.now() + 86400000).toISOString() // Tomorrow
  });
  
  console.log('Task created!');
}

main();
```

## Next Steps

<CardGroup cols={2}>
  <Card title="SDK Reference" icon="code" href="/sdk/usage">
    Learn about advanced SDK features
  </Card>

  <Card title="API Reference" icon="network-wired" href="/api-reference/introduction">
    Explore raw REST endpoints
  </Card>
</CardGroup>
