Documentation

Unity Version Control

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.
Note
To open Version Control in the Unity Dashboard, select Development, then select Version Control under Shortcuts. If Version Control isn't under Shortcuts, add a shortcut to it first: select the + icon next to Shortcuts, then select Version Control.
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
chat:write
bot token scope.
Then add the app to the Slack channel that you want to receive notifications.
To create a new Slack integration in the Integrations tab:
  1. Select Slack.
  2. Select New integration > Configure with Bot.
  3. In Bot OAuth Token, enter the OAuth bot token of your Slack app.
  4. 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.
  5. Set the following:

    Setting

    Description

    Custom nameA name for the integration.
    RepositoryThe repositories that you want the integration to apply to.
    EventsThe events that you want to send notifications for.
    FiltersFilters that limit which events send notifications, for example a branch name.
  6. 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:
  1. Select Discord.
  2. Select New integration > Configure with Webhook.
  3. In Channel Webhook, enter the webhook URL of your Discord channel.
  4. Set the following:

    Setting

    Description

    Custom nameA name for the integration.
    RepositoryThe repositories that you want the integration to apply to.
    EventsThe events that you want to send notifications for.
    FiltersFilters that limit which events send notifications, for example a branch name.
  5. Select Save & Close.

WebHook

To create a new Webhook integration in the Integrations tab:
  1. Select Webhook.
  2. Select New integration.
  3. 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.
  4. Set the following:

    Setting

    Description

    Custom nameA name for the integration.
    RepositoryThe repositories that you want the integration to apply to.
    EventsThe events that you want to send notifications for.
    FiltersFilters that limit which events send notifications, for example a branch name.
  5. Select Save & Close.