|
| 1 | +--- |
| 2 | +description: Setting up Linked Roles might take a few minutes, but by following this guide, you can get started easily. |
| 3 | +--- |
| 4 | + |
| 5 | +# Setup Linked Roles on your Discord |
| 6 | + |
| 7 | +Get started with Linked Roles on your Discord to improve your user experience by displaying important roles of users |
| 8 | +next to their names. |
| 9 | + |
| 10 | +:::success What is this? |
| 11 | +Unsure what Linked Roles are? Linked Roles allow you to display the role of a user next to their username, like this: |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +If you want to learn more about Linked Roles, you can do so in our [About Linked Roles](./linked-roles/intro) section. |
| 16 | + |
| 17 | +::: |
| 18 | + |
| 19 | +:::warning This feature is Early Access |
| 20 | +Linked roles are Early Access. This means that in addition to a paid plan, |
| 21 | +a [membership](https://membership.scootkit.com) with Early Access is also required. Early Access helps us invest money & |
| 22 | +time in developing new features and products. We plan to make this feature available to everyone with Unlimited / |
| 23 | +Professional plan without memberships in late Q2 2025. |
| 24 | +::: |
| 25 | + |
| 26 | +<IncludedInPlan data={{PROFESSIONAL: true, UNLIMITED: true, STARTER: false}} additionalDetails={{ |
| 27 | +UNLIMITED: "Additional Early Access subscription required during Beta trial. Beta will end in Q2 2025.", |
| 28 | +PROFESSIONAL: "Additional Early Access subscription required during Beta trial. Beta will end in Q2 2025."}} /> |
| 29 | + |
| 30 | +## Video (German) {#video} |
| 31 | + |
| 32 | +Our developer Simon is happy to guide you through this setup process in |
| 33 | +our [tutorial video on YouTube](https://www.youtube.com/watch?v=HR3yvTVpkOI). This video is in German right now, but |
| 34 | +we're working on an English translation. |
| 35 | + |
| 36 | +<Video url="https://www.youtube.com/watch?v=HR3yvTVpkOI" /> |
| 37 | + |
| 38 | +## 0. Pre-Flight-Checklist 🛫 {#step-0} |
| 39 | + |
| 40 | +Before you can enable Linked Roles on your server, please ensure that |
| 41 | + |
| 42 | +* you have [added your Server to SCNX](./setup). |
| 43 | +* your server has the paid [Unlimited](./scnx/guilds/plans) (<PlanPrice plan="UNLIMITED" type="MONTHLY"/>) |
| 44 | + or [Professional](./scnx/guilds/plans) (<PlanPrice plan="PROFESSIONAL" type="MONTHLY"/>) plan, or consider using a |
| 45 | + free trial, if |
| 46 | + available for you. |
| 47 | +* you are the owner of the server you want to enable this feature |
| 48 | + on ([why?](./scnx/guilds/trusted-admins#troubleshooting)) - if you are not the owner, please ask them to enable this |
| 49 | + feature for you and grant you access as a [Trusted Admin](./scnx/guilds/trusted-admins). |
| 50 | +* you (or one of your trusted admins) have Early Access (purchasable with |
| 51 | + a [ScootKit Membership Level 2 or higher](https://membership.scootkit.com)) during the beta trial. After the beta |
| 52 | + trial ends (likely in Q2 2025), this requirement will be removed. |
| 53 | +* you've got 5-10 minutes of time (our estimate is that this takes around six minutes to finish on a computer, on mobile |
| 54 | + it may take |
| 55 | + a bit longer) to finish this guide - don't stop in the middle; your progress won't be saved. |
| 56 | + |
| 57 | +## 1. Time to get started {#step-1} |
| 58 | + |
| 59 | +To get started with the setup, please open the [Linked Roles page](https://scnx.app/glink?page=linked-roles/enable) of |
| 60 | +your server in the SCNX dashboard. There, click on "Start setup" to get started. You might be shown a video or a link to |
| 61 | +this guide, but you can also click "Continue" there, since you are already here :wink: |
| 62 | + |
| 63 | +## 2. Select credentials {#step-2} |
| 64 | + |
| 65 | +Next, SCNX will prompt you to select which Discord credentials you want to use for Linked Roles. If you are using other |
| 66 | +SCNX products, like [Modmail](./modmail/intro) or the [Custom Bot](./custom-bot/custom-commands), you can select them |
| 67 | +from this list and [skip to step 3](#step-3). If you are not using any other product, please |
| 68 | +follow [these instructions](#step-2-app). |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +### Creating a Discord bot application {#step-2-app} |
| 73 | + |
| 74 | +If you are not using the credentials of another product, you'll need to create a new app in your Discord Developer |
| 75 | +Dashboard. |
| 76 | + |
| 77 | +To do so, visit the [Discord Developer Portal](https://discord.com/developers/applications). There, create a new |
| 78 | +application by clicking on "New Application" on the upper-right side of your Developer Portal. A modal will open. Enter |
| 79 | +the name of the application (you can change this later), read & accept |
| 80 | +the [Discord Developer Terms of Service](https://discord.com/developers/docs/policies-and-agreements/terms-of-service) |
| 81 | +and the [Discord Developer Policy](https://discord.com/developers/docs/policies-and-agreements/developer-policy) (these |
| 82 | +policies also apply to your use of the Discord API as part of SCNX) and create your bot by confirming with "Create". |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | +Next, open the "Bot"-Settings in the navigation bar on the left-hand side. |
| 87 | +There, you can configure the avatar and username. |
| 88 | + |
| 89 | +The final step in the Developer Dashboard is to generate a token and copy it. To do so, open the "Bot" page of your |
| 90 | +application |
| 91 | +and click on "Reset token" (still on the Bot page) and confirm your request in the modal. You might get asked |
| 92 | +to enter a 2FA-Code for your Discord-Account. |
| 93 | + |
| 94 | +Once done, please **copy the token of your bot and enter it on SCNX**. |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | +Once done, SCNX will check your token and synchronize data with Discord. Once done, you can continue |
| 99 | +with [the next step](#step-3). |
| 100 | + |
| 101 | +## 3. Save redirect URL {#step-3} |
| 102 | + |
| 103 | +Once your credentials are checked and SCNX has synchronized some Linked-Role data with Discord, you'll need to open the |
| 104 | +Oauth2 page of your Discord Developer Portal. The easiest way to do so is to click on the link that is visible on SCNX. |
| 105 | +Alternatively, you can click on "Oauth2" tab in your developer dashboard. |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | +Once you've opened the Oauth2 page, you'll need to copy and paste the redirect URL from your SCNX Dashboard. Doing this |
| 110 | +is easy: Simply click on the URL shown in SCNX (this will copy the URL to your clipboard). If you are wondering, the |
| 111 | +redirect URL should look something like this: |
| 112 | +`https://linked-roles.scnx.app/api/b4e5e89a-1c92-11f0-b688-03c2706e348f/callback` (the middle part might change based on |
| 113 | +your server). |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | +Go back to the "Oauth2"-Page |
| 118 | +in your Discord Developer Portal. There, scroll to "Redirects", click on "Add another" and paste the URL you just copied |
| 119 | +in the text field. Remember to save your changes! |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | +## 4. Enter Client Secret {#step-4} |
| 124 | + |
| 125 | +:::warning Confusion avoidance warning |
| 126 | +There's a big difference between your **Bot Token** and **Client Secret**. Please double-check which value you are |
| 127 | +entering to avoid issues later. For this step, you'll need the **Client Secret**, not the Bot Token. |
| 128 | +::: |
| 129 | + |
| 130 | +Once you've entered and saved the Redirect URL, please stay on the "Oauth2 page". Below "Client Information", generate |
| 131 | +the Client secret, by clicking on "Reset Secret" below the "Client Secret" field. Discord might ask you to verify your |
| 132 | +account by entering a 2FA code. Once this is done, you'll be able to copy the Client secret. Enter the copied value in your |
| 133 | +SCNX Dashboard and click on "Create Linked-Roles" to finish setup. |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | +## 5. Time to party 🎉 {#step-5} |
| 138 | + |
| 139 | +:::info Don't worry |
| 140 | +Your new Linked Role Bot won't stay online unless you use another SCNX product with the same credentials. |
| 141 | +::: |
| 142 | + |
| 143 | +Finally, finish setup by inviting the Linked Roles Bot to your server. Do so by clicking "Invite Linked-Roles-Bot" in |
| 144 | +the dashboard. Once done, you can continue by creating your first Linked Role. To learn more about that, continue in |
| 145 | +our [Role management documentation](./linked-roles/role-management#create-linked-scnx-role), where we explain how to |
| 146 | +create your Linked Roles on SCNX and on Discord. You can also jump |
| 147 | +to [the Linked Roles index page](/docs/linked-roles/overview) if you are looking for something else to continue with. |
| 148 | + |
| 149 | + |
0 commit comments