Set up integrations
Integrate Unity Version Control with other tools and services.
Read time 2 minutesLast updated 4 days ago
As an administrator, you can create Version Control integrations in the Unity Dashboard to notify users of certain events.
To set up an integration in the Unity Dashboard, select Development > Version Control > Settings > Integrations.
Slack
UVCS and Slack come together to help you set up notifications to your team’s Slack channel.
The Configure with Bot option needs an OAuth bot token from a Slack app that's installed in your workspace. To create a Slack app and get its bot token, refer to the Slack documentation.
Give the app the bot token scope.
chat:writeThen add the app to the Slack channel that you want to receive notifications.
To create a new Slack integration in the Integrations tab:
-
Select Slack.
-
Select New integration > Configure with Bot.
-
In Bot OAuth Token, enter the OAuth bot token of your Slack app.
-
In Slack channel, enter the name of the Slack channel that you want to receive notifications. If you change the name of the channel in Slack, change it here too. Otherwise, the integration won't work.
-
Set the following:
Setting
Description
Custom name A name for the integration. Repository The repositories that you want the integration to apply to. Events The events that you want to send notifications for. Filters Filters that limit which events send notifications, for example a branch name. -
Select Save & Close.
Discord
The Discord integration needs a webhook URL for the Discord channel that you want to receive notifications. To create a webhook and copy its URL, refer to the Discord documentation.
To create a new Discord integration in the Integrations tab:
-
Select Discord.
-
Select New integration > Configure with Webhook.
-
In Channel Webhook, enter the webhook URL of your Discord channel.
-
Set the following:
Setting
Description
Custom name A name for the integration. Repository The repositories that you want the integration to apply to. Events The events that you want to send notifications for. Filters Filters that limit which events send notifications, for example a branch name. -
Select Save & Close.
WebHook
To create a new Webhook integration in the Integrations tab:
-
Select Webhook.
-
Select New integration.
-
In Payload URL, enter the URL that receives the notifications. UVCS sends a POST request with a JSON payload to this URL for each event that you select.
-
Set the following:
Setting
Description
Custom name A name for the integration. Repository The repositories that you want the integration to apply to. Events The events that you want to send notifications for. Filters Filters that limit which events send notifications, for example a branch name. -
Select Save & Close.