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

# Quickstart

# Quickstart

GitHub from Composer to a live API call.

## 1. Install

```bash theme={null}
composer require sanvex/core sanvex/cli sanvex/github
php artisan migrate
php artisan sanvex:list
```

You should see `github` in the table.

## 2. Connect GitHub

Create a [GitHub personal access token](https://github.com/settings/tokens), then:

```bash theme={null}
php artisan sanvex:setup github --api-key="ghp_YOUR_TOKEN"
```

## 3. Call the API

```php theme={null}
use Sanvex\Core\SanvexManager;

public function repos(SanvexManager $manager)
{
    return $manager->resolveDriver('github')
        ->repositories()
        ->list(['per_page' => 10]);
}
```

Use a real token in step 2. A placeholder token stores successfully but GitHub returns `401 Bad credentials` on API calls.

## Next

* [Integration guide](./integration) — full checklist and troubleshooting
* [Installation](./installation) — install notes and optional config publish
* [Usage](./usage) — tenancy, webhooks, agents
* [Drivers](../drivers/github/setup) — GitHub resources and setup
