Skip to main content
Users who sign in through an external authentication provider, such as LDAP, SAML or SSO, can only create tokens after a platform administrator sets Allow External Users to Create OAuth2 Tokens to Enabled under Settings > Platform gateway.

Find your platform host

The platform host is the address you open Ansible Automation Platform at.

1

Copy the platform host

Open Ansible Automation Platform and copy the host from your browser’s address bar across.

  • Format: {host}, without https:// or a path
  • Example: if your URL starts with https://aap.example.com/, your Platform Host is aap.example.com

Creating an API token

A token carries the permissions of the user who creates it.

1

Create the token

In the Ansible Automation Platform navigation panel, select Access Management > API Tokens.

  • Click Create API token.
  • Description: StackOne Integration
  • Scope: Write to add, edit and delete resources, or Read for read-only access
  • Click Create token.
The Create API Token form with Description, Scope and Create token highlighted
2

Copy the token

Copy the Token across to API Token.

  • The Token is only displayed once and cannot be retrieved later.
The Token information dialog with the copy button highlighted
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Ansible into StackOne.