Skip to main content
Creating the application, policy and API key needs an account that can manage IAM in the Scaleway Organization. The API key inherits the permissions of its bearer, so the policy you attach decides what this connection can read and change.

Generating an API key

StackOne connects as an IAM application in your Scaleway Organization. Create the application,
grant it permissions with a policy, then generate the API key whose Secret Key StackOne uses.

1

Create the application

Sign in to the Scaleway console, then open Management & Governance > IAM in the sidebar.

  • Open the Applications tab.
  • Click Create application.
  • Name: StackOne Integration
  • Description: What the application is used for
  • Click Create application.
The IAM Applications tab with the Create application button highlighted
2

Create the policy

A new application holds no permissions until a policy grants them. In IAM, open the Policies tab and click Create policy.

  • Name: StackOne Integration
  • Principal type: Applications
  • Application name: the application you created
The Assign policy to principal section with the application selected in the Application name list
3

Add the permission sets

Under Add rules, open Select permission sets and choose what the connection may do.

  • In Category, select Organization management.
  • In Products, select IAM, then select IAMManager.
  • In Products, select Organization, then select OrganizationManager.
  • For a read-only connection, select IAMReadOnly and OrganizationReadOnly instead.
  • Click Next.
The Select permission sets panel with the IAM product open and IAMManager selected
4

Set the scope and create the policy

The scope decides which Projects the permission sets apply to.

  • Select Organization-level.
  • Click Next.
  • Click Confirm rule.
  • Click Create Policy.
The Confirm rule and Create Policy buttons at the end of the rule
5

Generate the API key

In IAM, open the API keys tab and click Generate API key.

  • Select API key bearer: An application
  • Select application: the application you created
  • API key description: Where the key is used
  • API key expiration: the expiry your key rotation policy allows
  • Will this API key be used for Object Storage?: No, skip for now
  • Click Generate API key.
The Generate an API key dialog with the bearer set to an application
6

Copy the Secret Key

Copy the Secret Key into StackOne Hub.

  • The Secret Key is shown only once, so copy it before you close the dialog.
  • Click Close.
The generated key showing the Access Key ID and the copy button beside the Secret Key
7

Copy the Organization ID

Your Organization ID identifies the Scaleway Organization this connection reads. In IAM, copy the Organization ID shown above the tabs into StackOne Hub.

  • Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  • An API key belongs to one Organization, so this must be the Organization the key was created in.
The IAM page with the Organization ID and its 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.