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

# Deploy configs

We're ready to deploy config instances to a device.

Navigate back to the [Devices page](https://app.mirurobotics.com/devices) and click into the device we provisioned in the previous step.

<Frame>
  ![Provisioned Device](https://assets.mirurobotics.com/docs/v04/images/devices/provisioned-device.png)
</Frame>

Select the release we just created and hit **Next**.

<Frame>
  ![Set Release Dialog](https://assets.mirurobotics.com/docs/v04/images/devices/editor/set-release-dialog.png)
</Frame>

Input the desired parameters for the `Mobility`, `Planning`, and `Communication` config instances respectively.

<Frame>
  ![Initial Deployment Editor Draft Page](https://assets.mirurobotics.com/docs/v04/images/devices/editor/init-deployment-draft.png)
</Frame>

<Note>
  The instances are auto-populated with the default values defined in the release's config schemas. If using empty schemas, the auto-populated instances will be empty as well.
</Note>

Finally, click **Deploy** in the top right, provide a description, and confirm the device name to deploy.

<Frame>
  ![Initial Deployment Deploy Dialog](https://assets.mirurobotics.com/docs/v04/images/devices/editor/init-deploy-dialog.png)
</Frame>

## Verify the deployment

To verify the config instances seen in the editor are deployed to the device, open a terminal on the machine being deployed to and run `cat` on the file path of a given config instance.

```bash theme={null}
cat /srv/miru/configs/mobility.json
```

You should find that the editor's content is identical to the config instance on the machine.

## Patch a deployment

To edit a config instance, make some changes to the current deployment in the editor. As edits are made, a log on the right maintains a list of all changes, categorizing them by their type: `added`, `deleted`, or `modified`.

<Frame>
  ![Deployment Editor Modifications](https://assets.mirurobotics.com/docs/v04/images/devices/editor/modifications.png)
</Frame>

<Warning>
  Only the latest deployment may be edited; all others are read-only.
</Warning>

Once you are satisfied with the edits, click **Deploy** in the top right.

As before, fill out the deployment dialog and click **Deploy**.

<Frame>
  ![Deployment Editor Deploy Dialog](https://assets.mirurobotics.com/docs/v04/images/devices/editor/deploy-dialog.png)
</Frame>

Congratulations! You've successfully deployed configurations to a device with Miru!
