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

# centraldispatch:setasmanaged

> Configure this Curator portal as a managed instance controlled by Central Dispatch

Configures this Curator portal as a managed instance controlled by a Central Dispatch dispatcher.

**Arguments:**

| Argument              | Required | Description                                   |
| --------------------- | -------- | --------------------------------------------- |
| `dispatcher_url`      | Yes      | URL of the managing dispatcher                |
| `dispatcher_api_key`  | Yes      | API key for communicating with the dispatcher |
| `managed_instance_id` | Yes      | The ID the dispatcher uses for this instance  |
| `upgrades_key`        | No       | The Curator license key for upgrades          |

**Example:**

```bash theme={null}
php artisan centraldispatch:setasmanaged \
  https://dispatch.example.com \
  dispatch-api-key \
  instance-42 \
  optional-license-key
```
