Skip to main content

Bitbucket

Panto Installation on Bitbucket

You have two options for setting up Panto with Bitbucket: using an Access Token or an App Password.

It's a pretty simple 1-2 click steps.

  • Grant access to our bot from here.
  • Once it's access is granted, Comment !review on any PR to trigger the bot for instant feedback.

Common Installation Error

If you’re getting “Enable Bitbucket's development mode” error:

  1. Please click on “Go to Settings” and check on the “Enable development Mode”.
  2. Open the bot URL again.

Option 2: Generate API Token

  1. Create a new Bitbucket account for your organization.
  2. Generate API Token:
    • Go to newly created Bitbucket account.
    • Set API Token from here.
    • Select Create API token with scopes.
    • Label: Enter a descriptive name : Panto AI API Token.
    • Expires on : Set expiry date to next year.
    • Click next.
    • Select Bitbucket and click next.
    • Scopes: Select the following scopes:
      • read:repository:bitbucket
      • write:pullrequest:bitbucket
      • read:pullrequest:bitbucket
      • read:account
      • read:user:bitbucket
      • read:workspace:bitbucket
    • Click "Next" and click "Create Token".
    • Save the generated api token securely. Bitbucket will not display it again.
    • Share your generated API token and bitbucket email with us to support@getpanto.ai
  3. Setup Webhook:
    • Go to your repository settings.
    • Click on "Webhooks."
    • Click "Add webhook."
    • Title: Give your webhook a descriptive name (e.g., "Panto Webhook").
    • URL: https://app.getpanto.ai/bitbucket/webhook
    • Status: Active.
    • SSL/TLS: Keep "Skip certificate verification" option uncheck.
    • Triggers: Select all options under "Pull request".
    • Save the webhook.

Triggering a Review

After completing either installation option, you can trigger a Panto review by commenting !review on a pull request or enable auto review.

For any support, contact support@getpanto.ai.