Zulip supports both Git and Mercurial notifications from
Bitbucket. This integration is for the new-style Bitbucket
webhooks used by the Bitbucket SAAS service.

For the old-style Bitbucket webhooks used by Bitbucket Enterprise,
click [here](./bitbucket), and for the new-style webhooks used by
Bitbucket Server click [here](./bitbucket3).

1. {!create-stream.md!}

1. {!create-bot-construct-url.md!}

    {!git-webhook-url-with-branches.md!}

1. On your repository's web page, click on **Settings**. Select
   **Webhooks**, and click **Add webhook**.

1. Set **Title** to a title of your choice, such as `Zulip`. Set **URL**
   to the URL constructed above, and check the **Active** checkbox. Select
   the **Triggers** you'd like to be notified about, and click **Save**.

{!congrats.md!}

![](/static/images/integrations/bitbucket/003.png)
