Documentation

1. Create a Project

Before connecting your repository, you need to initialize a project in our dashboard:

  1. Navigate to your Projects.
  2. Click the + New Project button.
  3. Enter your project name and select your preferred environment.
  4. Copy the Project Secret Key—you'll need this for your webhook URL.

2. GitHub Webhook Setup

To automate deployments via GitHub:

  • Go to your GitHub Repository and click Settings.
  • On the left sidebar, click Webhooks.
  • Click Add webhook.
Payload URL: https://journasy.com/api/webhooks/github/secret_key
Content type: application/json

Select Just the push event and click "Add webhook."

3. Bitbucket Webhook Setup

To connect your Bitbucket repository:

  • Open your repository and click Repository settings.
  • Under "Workflow", select Webhooks.
  • Click Add webhook.
URL: https://journasy.com/api/webhooks/bitbucket/secret_key

Give it a title (e.g., "Deploy Hook"), ensure Repository push is checked, and save.