---
title: "PUT /instance/{InstanceId}/bot"
method: PUT
path: "/instance/{InstanceId}/bot"
---

# PUT /instance/{InstanceId}/bot

`PUT /instance/{InstanceId}/bot`

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot.

## Path parameters

- `InstanceId` string, required

## Request body

- object
  - `LexBot` object — Configuration information of an Amazon Lex bot.
    - `Name` string — The name of the Amazon Lex bot.
    - `LexRegion` string — The Amazon Web Services Region where the Amazon Lex bot was created.
  - `LexV2Bot` object — Configuration information of an Amazon Lex V2 bot.
    - `AliasArn` string — The Amazon Resource Name (ARN) of the Amazon Lex V2 bot.

## Response `200`

Success

## Other responses

- `480` — ResourceNotFoundException
- `481` — ResourceConflictException
- `482` — InternalServiceException
- `483` — InvalidRequestException
- `484` — LimitExceededException
- `485` — ServiceQuotaExceededException
- `486` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/connect.md) · [All operations](https://skmtc.net/aws/apis/connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connect/versions/fbcf0a4faed2/schema)
