# Adding Ranks

{% embed url="<https://www.youtube.com/watch?v=eoI5ah6amf4>" %}

You can enable role syncing with TeamSpeak after setting up the connection by navigating to the `Role Sync` tab and checking the `Enable Role Sync` button.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FBDYJAlaJmwPDX1wa7Kr7%2FScreenshot%20(468).png?alt=media&#x26;token=494b6e2e-4803-4b4f-93bc-15640a15c169" alt=""><figcaption><p>Sonoran CMS- TS Role Sync Enabled</p></figcaption></figure>

## Adding a Rank

Steps for adding a rank that is associated with a group on your TeamSpeak server:

1. Click the **Add Mapping** button on the CMS admin panel

<div align="center"><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-d21103ec09de056538e5d737bed5cff517ba1fe8%2FCMS_TSIntegrationAddMapping.png?alt=media" alt=""><figcaption><p>Sonoran CMS - Add Mapping</p></figcaption></figure></div>

2. Select the CMS department and rank you'd like to use in the dropdown that just appeared

<div align="left"><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FtK3AoiEVidy7FWv9bfPh%2FScreenshot%20(469).png?alt=media&#x26;token=0b7c7710-5b77-4851-9139-b841615fc2b4" alt=""><figcaption><p>Sonoran CMS - Rank Selection</p></figcaption></figure></div>

3. Input the TeamSpeak group permanent ID into the **TeamSpeak Group ID** input

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-c76045b31d0dbe8ebd0342e7dc29627a4cacbf3c%2FCMS_TSIntegrationInputGroupID.png?alt=media" alt=""><figcaption><p>Sonoran CMS - Input Group ID</p></figcaption></figure>

* A TeamSpeak's group ID can be found by hovering over it in the permission editor
* Additionally, if you have Sonoran Radio installed you can also follow [this guide](https://info.sonoranradio.com/en/tutorials/permissions#server-group-ids)

<div align="left"><figure><img src="https://i.imgur.com/H608nba.png" alt=""><figcaption><p>TeamSpeak - Group IDs</p></figcaption></figure></div>

Repeat this for all ranks you'd like to map to a TeamSpeak Group.

This method will soon be deprecated and be replaced by the following:

3. (Coming soon) Select a TeamSpeak group from the dropdown to the right.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-99ceb5c2438f046e6a635180457ba9ff9f1f7bf2%2FCMS_TSIntegrationGroupSelect.png?alt=media" alt=""><figcaption><p>Sonoran CMS - Group Selection</p></figcaption></figure>

## Setting up Your Users

For users in your community to benefit from this feature, they must setup their TeamSpeak UID after you've setup your connection. Check out this guide for adding your UID to CMS:

{% content-ref url="adding-your-teamspeak-uid" %}
[adding-your-teamspeak-uid](https://docs.sonoransoftware.com/cms/integration-capabilities/teamspeak-3-role-sync/adding-your-teamspeak-uid)
{% endcontent-ref %}
