Slack

Integrating with Slack allows you to send custom automatic messages to your Slack channel.

Register new Slack OAuth app

  1. Sign in to your Buddy On-Premises instance as admin.
  2. Go to Integrations, click Add a new integration, and select Slack from the list.
  3. Click Configure Slack app.

  1. In Slack, go to Slack API → Apps and click Create New App.
  2. Select From an app manifest.
  3. Select the Slack workspace for your app.
  4. Enter the app manifest in the YAML format. Provide the authorization callback URL of your instance in redirect_urls.
display_information:
  name: Buddy
  description: Simple Git hosting with easy Deploy and CI
features:
  bot_user:
    display_name: Buddy On-Premises
    always_online: true
oauth_config:
  redirect_urls:
    - https://{YOUR_INSTANCE_URL}/callback
  scopes:
    bot:
      - channels:read
      - chat:write
      - files:write
      - groups:read
      - team:read
      - users:read
settings:
  org_deploy_enabled: false
  socket_mode_enabled: false
  token_rotation_enabled: false

  1. Click Create.
  2. Scroll down to the App Credentials section, copy the Client ID and Client Secret, and paste them into the corresponding fields in Buddy.

  1. Click Save changes and restart Buddy to apply the changes.
  2. Add a Slack action to one of your pipelines.
  3. Define the name of the integration and click Start OAuth authorization.

  1. Click Allow to give Buddy access to your Slack workspace.

Get Started

Sign up for free and deploy your project in less than 10 minutes.