Skip to main content

astroctl_notifications_integrations_configure

astroctl notifications integrations configure

Configure a notification integration

Synopsis

Configure a notification integration for your organization.

Integrations define where and how notifications are delivered. You can configure email addresses or Slack webhooks/apps to receive notifications about your applications and clusters.

Once configured, integrations are automatically enabled and ready to receive notifications based on your subscription preferences.

astroctl notifications integrations configure [flags]

Examples


# Configure an email integration
astroctl notifications integrations configure --channel email --email admin@company.com

# Configure a Slack webhook integration (webhook will be tested automatically)
astroctl notifications integrations configure --channel slack --webhook-url https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

# Configure a Slack webhook without testing (not recommended)
astroctl notifications integrations configure --channel slack --webhook-url https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX --skip-webhook-test

# Configure a Slack app integration with specific channel
astroctl notifications integrations configure --channel slack --webhook-url installation:T123456:xoxb-token-ref --slack-channel "#alerts"

Options

      --channel string         Channel type (email, slack)
--email string Email address (for email channel)
-h, --help help for configure
--skip-webhook-test Skip testing Slack webhook (not recommended)
--slack-channel string Slack channel name (optional, only needed for Slack apps, not webhooks)
--webhook-url string Webhook URL (for slack channel)

Options inherited from parent commands

  -o, --output string   Output format (json|yaml) (default "yaml")

SEE ALSO