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

# AWS Bedrock Anthropic

You can use AWS Bedrock Claude models on TypingMind Custom by adding a Custom Model using the following steps:

<Note>
  This feature is currently only available for **TypingMind Custom Admin** users. We are actively working on updates to make it accessible to all users soon!
</Note>

## 1. Create an AWS account

If you do not have an account yet, register for an AWS account here: [https://signin.aws.amazon.com/signup?request\_type=register](https://signin.aws.amazon.com/signup?request_type=register)

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image.png" alt="image.png" />

Once you complete signup, move to the next steps.

## 2. Request Bedrock Claude models

* Search for the "Bedrock" service on the Navigation bar and click on “Amazon Beckrock”

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%201.png" alt="image.png" />

* Click “Get Started” under the Try Bedrock rection

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%202.png" alt="image.png" />

* Select Base Models and hover to the Claude models you want to access → click “Model Access”

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%203.png" alt="image.png" />

* Click on “Available to request” and there’s a popup that will prompt you to Request model access.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%204.png" alt="image.png" />

* Click on that and select the Anthropic models you want to access → click “Next”  → click “Submit” to submit the model request access. It might take a few minutes to get approved and access to the chosen models.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%205.png" alt="image.png" />

<aside>
  📌

  Please check your model quotas to know your limits. If your region is `us-east-1`, you can check it here: [https://us-east-1.console.aws.amazon.com/servicequotas/home/services/bedrock/quotas?region=us-east-1](https://us-east-1.console.aws.amazon.com/servicequotas/home/services/bedrock/quotas?region=us-east-1)
</aside>

# 3. Create access and secret keys

* Search for “IAM” service on the search bar
* Click on Users right below the IAM service to navigate to the User Groups page.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%206.png" alt="image.png" />

* Click on “Create user” to create a new user with the Bedrock permissions.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%207.png" alt="image.png" />

* Enter the username and click “Next”

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%208.png" alt="image.png" />

* Within the Set Permission options, select “Attach policies directly”
* Within the Permission policies, search for Bedrock and select all the polices → Click Next

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%209.png" alt="image.png" />

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2010.png" alt="image.png" />

* Click “Create user” to create a new user.
* After completing creating a new user, click on that user to navigate to the new user's details page and generate access and secret keys.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2011.png" alt="image.png" />

* Click “Create access key”

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2012.png" alt="image.png" />

* Within the Access key best practices and alternatives section, select “Application running outside AWS” and click Next

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2013.png" alt="image.png" />

* Click on “Create access key” to have the access key and secret access key.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2014.png" alt="image.png" />

* Store these access key and secret access key along with the AWS region. Also go back to the Base models page and navigate the Claude model id to copy. We will use this information to create custom model on TypingMind.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2015.png" alt="image.png" />

# 4. Create a custom model on TypingMind

Access your [Admin Panel](https://custom.typingmind.com/manage), navigate to the Models page, and create a new custom model.

Fill in all required information as follows:

* API Type: Switch to Claude via Bedrock
* Name: give it any name you want, for example, Bedrock Haiku
* Model ID: provide the copied model ID in step 3, for example, `anthropic.claude-3-haiku-20240307-v1:0`
* Content length: can set up to 200k tokens
* Click Add Custom Headers and add the following info:
  * `awsAccesskey` : `your_access_key` (copied in step 3)
  * `awsSecretkey` : `your_secret_access_key` (copied in step 3)
  * `awsRegion` : `your_aws_region` (for example: ap-southeast-2)

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2016.png" alt="image.png" />

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2017.png" alt="image.png" />

* After complete filling all the necessary details, click “Test” and click “Add Model”

# 5. Chat with the new model

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/aws-bedrock-anthropic/image%2018.png" alt="image.png" />
