> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect AWS Lambda with Access Key – StackOne Hub

> Link a AWS Lambda account in the StackOne Hub using Access Key. End-user guide to authorize the integration and start using AWS Lambda actions.

> [!WARNING]
>
> You need an AWS account with IAM permissions to create users and access keys (administrator access or an equivalent IAM policy).

## Create an IAM user

Create a dedicated IAM user for StackOne so its access can be managed and revoked independently of your own.

**1. Sign in to AWS**

Sign in to your [AWS IAM console](https://console.aws.amazon.com/iam/).

<ul>
  <li>Navigate to **Users** > **Create user**.</li>
</ul>

**2. Set the user name**

Enter a name for the user and continue.

<ul>
  <li>Example: `stackone-lambda`</li>
  <li>Click **Next**.</li>
</ul>

**3. Attach permissions**

Grant the user access to Lambda.

<ul>
  <li>Select **Attach policies directly**.</li>
  <li>Attach **AWSLambda\_FullAccess**, or a custom policy scoped to only the Lambda actions you need.</li>
  <li>Click **Next**, then **Create user**.</li>
</ul>

## Create an access key

Generate the Access Key ID and Secret Access Key that StackOne uses to sign requests.

**1. Open the user's security credentials**

From **Users**, select the user you just created and open the **Security credentials** tab.

<ul>
  <li>Under **Access keys**, click **Create access key**.</li>
</ul>

**2. Choose a use case**

Select **Third-party service** as the use case.

<ul>
  <li>Acknowledge the recommendation, then click **Next**.</li>
  <li>(Optional) Add a description tag, then click **Create access key**.</li>
</ul>

**3. Copy the Access Key ID and Secret Access Key**

Copy both values and store them securely for use later.

<ul>
  <li>**Access Key ID** format: `AKIAIOSFODNN7EXAMPLE`</li>
  <li>The **Secret Access Key** is shown only once — if you lose it, delete the access key and create a new one.</li>
  <li>Optionally click **Download .csv file** to save both values.</li>
</ul>

## Find your AWS Region

Your AWS Region determines which regional Lambda endpoint StackOne connects to. Use the Region that hosts your functions.

<ul>
  <li>Check the Region selector in the top-right of the AWS console.</li>
  <li>Enter the Region code, not the display name</li>
  <li>Example: `US East (N. Virginia)` is `us-east-1`, and `Europe (London)` is `eu-west-2`</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.