Step 1: Set Up an AWS Account and Create an Administrator User - Amazon Lex V1

If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.


If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.

Step 1: Set Up an AWS Account and Create an Administrator User

Before you use Amazon Lex for the first time, complete the following tasks:

Sign Up for AWS

If you already have an AWS account, skip this task.

When you sign up for Amazon Web Services (AWS), your AWS account is automatically signed up for all services in AWS, including Amazon Lex. You are charged only for the services that you use.

With Amazon Lex, you pay only for the resources that you use. If you are a new AWS customer, you can get started with Amazon Lex for free. For more information, see AWS Free Usage Tier.

If you already have an AWS account, skip to the next task. If you don't have an AWS account, use the following procedure to create one.

To create an AWS account
  1. Open

  2. Follow the online instructions.

    Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.

    When you sign up for an AWS account, an AWS account root user is created. The root user has access to all AWS services and resources in the account. As a security best practice, assign administrative access to an administrative user, and use only the root user to perform tasks that require root user access.

Write down your AWS account ID because you'll need it for the next task.

Create a user

Services in AWS, such as Amazon Lex, require that you provide credentials when you access them so that the service can determine whether you have permissions to access the resources owned by that service. The console requires your password. However, we don't recommend that you access AWS using the credentials for your AWS account. Instead, we recommend that you:

  • Use AWS Identity and Access Management (IAM) to create a user

  • Add the user to an IAM group with administrative permissions

  • Grant administrative permissions to the user that you created.

You can then access AWS using a special URL and the user's credentials.

The Getting Started exercises in this guide assume that you have a user (adminuser) with administrator privileges. Follow the procedure to create adminuser in your account.

To create an administrator user and sign in to the console
  1. Create an administrator user called adminuser in your AWS account. For instructions, see Creating Your First User and Administrators Group in the IAM User Guide.

  2. As a user, you can sign in to the AWS Management Console using a special URL. For more information, How Users Sign In to Your Account in the IAM User Guide.

For more information about IAM, see the following:

Next Step

Step 2: Set Up the AWS Command Line Interface