# Sonoran CMS Integration

## Video Guide

Sync your Discord roles with SonoranCMS permissions!

{% embed url="<https://youtu.be/JbBuSGiyWvc>" %}

### Adding the Discord Bot <a href="#role-mapping-in-cms" id="role-mapping-in-cms"></a>

If you have not already, invite the Discord bot to your guild:

{% content-ref url="/pages/1jdipf4RgfuLEZ4nlTrv" %}
[Getting Started](/bot/tutorials/getting-started.md)
{% endcontent-ref %}

### Linking Your Discord Account <a href="#role-mapping-in-cms" id="role-mapping-in-cms"></a>

Link your CMS and Discord user accounts:

{% content-ref url="/pages/9YWY9ri1YfSXRDS77aVe" %}
[Account Link](/bot/tutorials/sonoran-cms-integration/account-link.md)
{% endcontent-ref %}

## Configure Role Mapping <a href="#role-syncing" id="role-syncing"></a>

Configure role mapping to automate permissions:

{% content-ref url="/pages/0rDYb8zcX6LPmvsuPrJs" %}
[Role Mapping](/bot/tutorials/sonoran-cms-integration/role-mapping.md)
{% endcontent-ref %}

## Additional Features <a href="#features" id="features"></a>

Additional features can be changed through the `/settings` menu described below:

{% content-ref url="/pages/RmmQ4VmMQYTRebFbBdZq" %}
[Settings](/bot/tutorials/usage/settings.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonoransoftware.com/bot/tutorials/sonoran-cms-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
