> For the complete documentation index, see [llms.txt](https://docs.boldminded.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boldminded.com/dexter/docs-statamic/installation-and-upgrading.md).

# Installation & Upgrading

Install the add-on with Composer:

```bash
composer require boldminded/dexter-statamic
```

The config file is published automatically as part of the install. If you need to publish it again, or it did not appear:

```bash
php please vendor:publish --tag=dexter-config
```

This creates `config/dexter.php`. Add your provider credentials to `.env`, then define at least one index. See Configuration.

Verify the installation:

```bash
php please dexter:doctor
```

`dexter:doctor` checks that the addon is wired in correctly — that core classes autoload, an HTTP client is discoverable, and each configured index resolves to a real driver and real content handles. It contacts no network services; it checks plumbing, not connectivity.

{% hint style="info" %}
`dexter:preview` and `dexter:doctor` do not appear in `php please list`, because Statamic filters that view. They run normally.
{% endhint %}
