Skip to main content

Set up an integration

POST 

/v1/organizations/:org/integrations

The body names the provider and carries that provider's settings in a block of the same name. The response contains launch_steps: what the user must create. Integrations belong to sub-organizations: a top-level organization answers 422 top_level_organization (use its default sub-organization).

AWS, deployment: role (the default): the customer creates only the read-only role, with the AWS CloudShell script, the Terraform file or the CloudFormation template (/v1/providers/aws/templates/...). The launch step's aws block has the role name and ARN, the external ID and the trusted principal, and launch_url is a CloudFormation quick-create link. Then submit the role with POST .../integrations/{id}/scopes ({"aws": {"role_arn": ...}}): the platform validates it from its side (role assumed with the external ID, required actions allowed, regions) and the integration becomes active, partially_active (missing actions, listed per scope) or failed. POST .../retry validates again.

deployment: connector keeps the connector stack, whose link contains a one-time registration token (valid 24 hours), so treat that response as secret.

AWS modes:

  • single_account: one stack, deployed in the account being connected.
  • organization: step 1 deploys the connector in connector_account_id; step 2 deploys roles in the management account (and, via a StackSet, every member account).

With an Idempotency-Key, a repeated request returns the same integration with a fresh token.

Request​

Responses​

Replayed (same Idempotency-Key and body)