# slack - Slack webhook

Warning

Do not commit your credentials to a public repo!

First, set up a webhook for this to use.

- Go to https://slack.com/apps/manage

- Add a new webhook

- Configure it to taste (channel, name, icon)

- Copy the webhook URL for your configuration below

url
  Type:

    string

  Required:

    true

  the Slack webhook URL

channel
  Type:

    string

  Required:

    false

  Default:

    the channel configured on the webhook

  the channel to send to

username
  Type:

    string

  Required:

    false

  Default:

    a username to send to

timeout
  Type:

    int

  Required:

    false

  Default:

    `5`

  Timeout for HTTP request to Slack