Create a Slack automation

This page shows how to create a Slack automation. To create a webhook automation, refer to Create a webhook automation instead.

At a high level, to create a Slack automation, you take these steps:

  1. Add a Slack integration, which authorizes W&B to post to the Slack instance and channel.
  2. Create the Slack automation, which defines the event to watch for and the channel to post to.

Add a Slack integration

A team admin can add integrations to the team.

  1. Log in to W&B and go to Team Settings page.

  2. In the Slack channel integrations section, click Connect Slack to add a new Slack instance. To add another channel in an existing Slack instance, click New integration.

    If necessary, sign in to your Slack instance. A browser window appears, asking that you grant Weights and Biases permission to post to the Slack channel you select. Read the page, then click Search for a channel and begin typing the channel name. Select the channel from the list, then click Allow.

  3. In Slack, go to the channel you selected. If you see a post like [Your Slack handle] added an integration to this channel: Weights & Biases, the integration is configured correctly.

Now you can create a Slack automation.

View and manage Slack integration

A team admin can view and manage the team’s integrations.

  1. Log in to W&B and go to Team Settings.
  2. View each Slack destination in the Slack channel integrations section.
  3. Delete a destination by clicking its trash icon.

Create a Slack automation

After you configure a Slack integration, select Registry or Project, then follow these steps to create a Slack automation.

A Registry admin can create automations in that registry.

  1. Log in to W&B.

  2. Click the name of a registry to view its details,

  3. To create an automation that applies to the registry and all of its collections (including those created in the future), click the Automations tab, then click Create automation.

    To create an automation that applies only to a specific collection, click the collection’s action ... menu, then click Create automation. Alternatively, create an automation for a collection from the Automations section of the collection’s details page by clicking Create automation.

  4. Choose the Event to watch for.

    Fill in any additional fields that appear, which depend upon the event. For example, if you select An artifact alias is added, you must specify the Alias regex.

    Click Next step.

  5. Select the team that owns the Slack integration.

  6. Set Action type to Slack notification. Select the Slack channel, then click Next step.

  7. Provide a name for the automation. Optionally, provide a description.

  8. Click Create automation.

A W&B admin can create automations in a project.

  1. Log in to W&B.

  2. Go the project page and click the Automations tab.

  3. Click Create automation.

  4. Choose the Event to watch for.

    Fill in any additional fields that appear, which depend upon the event. For example, if you select An artifact alias is added, you must specify the Alias regex.

    Click Next step.

  5. Select the team that owns the Slack integration.

  6. Set Action type to Slack notification. Select the Slack channel, then click Next step.

  7. Provide a name for the automation. Optionally, provide a description.

  8. Click Create automation.

View and manage automations

  • Manage the registry’s automations from the registry’s Automations tab.
  • Mamage a collection’s automations from the Automations section of the collection’s details page.

From either of these pages, a Registry admin can manage existing automations:

  • To view an automation’s details, click its name.
  • To edit an automation, click its action ... menu, then click Edit automation.
  • To delete an automation, click its action ... menu, then click Delete automation. Confiruation is required.

A W&B admin can view and manage a project’s automations from the project’s Automations tab.

  • To view an automation’s details, click its name.
  • To edit an automation, click its action ... menu, then click Edit automation.
  • To delete an automation, click its action ... menu, then click Delete automation. Confiruation is required.