# Import Discord Roles

## Import Discord Roles as CMS Ranks <a href="#import-roles-cms" id="import-roles-cms"></a>

For any Discord guild linked to your CMS, you can choose to import specific roles as ranks into any CMS department.

It will automatically create ranks matching the name and color of your roles, though in depth permission customization will still have to be done as normal.

You can read more on importing Discord roles [here](https://info.sonorancms.com/tutorials/user-management/creating-departments#importing-ranks-from-discord-roles).

![Sonoran CMS - Import Discord Roles as Ranks](/files/OhsDcgRa8jagkXWDNir7)


---

# 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/import-discord-roles.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.
