Skip to content
Jason Yonker edited this page Oct 25, 2024 · 2 revisions

The Glue orb uses Glue webhooks to post messages to Glue as part of your CircleCI job. In order to receive notifications, we must create a webhook for the orb to use.

1. Create a Webhook in Glue

In Glue, navigate to the Apps section of the workspace settings.

Glue Apps Menu

Locate Webhook in the list and click Add.

Glue Apps

Enter "CircleCI" or other name of your choice, add a description if desired, and then click Create.

After creating the webhook, you can see and copy the URL for the webhook.

Glue Webhook

2. Create a Context on CircleCI

A context is a storage container for a bucket of environment variables. We can attach multiple contexts to a job and restrict access to certain contexts if needed.

See: Using Contexts

Glue Context environment variables on CircleCI

Create two environment variables within your context:

Env var name Value
GLUE_WEBHOOK The webhook URL copied from Glue.
GLUE_DEFAULT_TARGET If no target is specified, notifications will be sent here.

You can obtain the thread or group ID for the default target by copying a link to the group or thread. The ID will be visible near end of the URL.