Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Importing and Exporting Amazon Lex Bots, Intents, and Slot Types

Focus mode
Importing and Exporting Amazon Lex Bots, Intents, and Slot Types - Amazon Lex V1

End of support notice: On September 15, 2025, AWS will discontinue support for Amazon Lex V1. After September 15, 2025, you will no longer be able to access the Amazon Lex V1 console or Amazon Lex V1 resources. If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead. .

End of support notice: On September 15, 2025, AWS will discontinue support for Amazon Lex V1. After September 15, 2025, you will no longer be able to access the Amazon Lex V1 console or Amazon Lex V1 resources. If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead. .

You can import or export a bot, intent, or slot type. For example, if you want to share a bot with a colleague in a different AWS account, you can export it, then send it to her. If you want to add multiple utterances to a bot, you can export it, add the utterances, then import it back into your account.

You can export bots, intents, and slot types in either Amazon Lex (to share or modify them) or an Alexa skill format. You can import only in Amazon Lex format.

When you export a resource, you have to export it in a format that is compatible with the service that you are exporting to, Amazon Lex or the Alexa Skills Kit. If you export a bot in Amazon Lex format, you can reimport it into your account, or an Amazon Lex user in another account can import it into his account. You can also export a bot in a format compatible with an Alexa skill. Then you can import the bot using the Alexa Skills Kit to make your bot available with Alexa. For more information, see Exporting to an Alexa Skill.

When you export a bot, intent or slot type, its resources are written to a JSON file. To export a bot, intent, or slot type, you can use either the Amazon Lex console or the GetExport operation. Import a bot, intent or slot type using the StartImport.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.