Integrate Amazon Lex with Studio

These instructions are part of Open Forms with Amazon Lex V2.

Complete these instructions once. If you have completed them in the past, no need to repeat.

To complete these instructions you need the ARN provided to you by the Studio DevOps team. The ARN is of the form arn:aws:iam::AccountID:user/username

  1. Sign up for an AWS account. Skip this step if you already have an account.

  2. Sign in to Amazon Web Services.

  3. From Services, navigate to Identity and Access Management (IAM).

  4. From IAM, under Access Management, select Roles.

  5. Click Create Role.

    1. To select the type of trusted entity, click Another AWS account.

    2. In the Account ID field, enter the account ID portion of the ARN provided to you by the Studio DevOps team.

      The ARN is of the form arn:aws:iam::AccountID:user/username

      For ARN arn:aws:iam::123456789012:user/inferencelex the account ID is 123456789012

    3. On the Attach Permissions Policies page, select the following policies to attach to the new role.

      1. STSPolicy

      2. AmazonLexRunBotsOnly

    4. On the Review page, give the role a name.

      An example name is Five9InferenceStudio_Lex_Integration

    5. Optionally, provide a description to the role.

    6. Verify the account ID is accurate.

    7. Verify the policies attached to this role are STSPolicy and AmazonLexRunBotsOnly.

  6. Open the role you just created.

    1. From the Summary page, select the Trust relationships tab.

    2. Click Edit Trust Relationship.

    3. In the Policy Document, enter the ARN provided to you by the Studio DevOps team.

      The ARN is of the form arn:aws:iam::AccountID:user/username

    4. On the Summary page, copy the Role ARN and paste somewhere for later reference.

      You use the role ARN to configure the open form type in Studio.

  1. Create an Amazon Lex V2 bot