Skip to main content

Preparing webhook deployment

Once you've created your webhook endpoint, you can set it up in the Indent dashboard.

For apply update webhooks

  1. Sign into your Indent space.
  2. Go to your configuration.
  3. Expand the "Webhook Output" and enter your "Webhook URL" and turn off the "Testing Mode" option.
  4. If you set any authorization headers, you can add them under "Headers" to include in requests. (Recommended)
  5. Click "Save" in the top right.

For pull update webhooks

  1. Sign into your Indent space.
  2. Go to the webhooks page.
  3. Click "New" and select the kind of webhook you'd like to create.
  4. Update the signing secret in your deployed endpoint and enter the webhook URL.
  5. Once you've successfully deployed your webhook, disable "Testing Mode" and try making a request.

Deploying on AWS

  • Select the AWS account where you'd like to deploy the webhooks.
  • Go to AWS IAM → Add Users and create a new user for deploys, such as indent-terraform-deployer
  • Configure the service account's access:
    • Credential type — select Access key - Programmatic access
    • Permissions — click Attach existing policies directly and select AdministratorAccess
    • Follow the prompts until the account is created

Deploying on Google Cloud

Choose an authentication method

Log in to Google Cloud SDK from the command line:

gcloud auth application-default login

Follow the prompts to log in to your Google Cloud SDK Account. Then,configure the project you want to use to deploy Indent webhooks:

gcloud config set project my-project