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

# Amazon Bedrock

> Amazon Bedrock extension provides a unified API that gives you access to many different AI models through a single endpoint

<Check>
  This is a `free` extension available for anyone
</Check>

<Card title="Supported LLM Models">
  * Amazon | Nova Pro
  * Amazon | Nova Lite
  * Amazon | Nova Micro
  * More will be added soon...
</Card>

<Note>Please note that at the moment we have added support for main Amazon Nova models in AI Writer and AI Chat feature, other models will be supported soon with Amazon Bedrock.</Note>

## Introduction

Amazon Bedrock provices access to state of the art models via single API endpoint, it one of the most secure and rapidly growing services at AWS.

## Extension Configuration

To be able to use Amazon Bedrock feature, follow these steps to setup Amazon Bedrock Extension.

<Steps>
  <Step title="Step 1">
    Go to the **Marketplace** in **Admin Panel** and install **Amazon Bedrock** extension.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/bedrock/b-4.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=76ed10d5d7b3cc93ff2970e8699ec7b1" width="399" height="277" data-path="images/extensions/bedrock/b-4.png" />
  </Step>

  <Step title="Step 2">
    After installation is completed, go to **AI Settings** page in Admin Panel and click on **Extensions** tab there. Click on **Amazon Bedrock** there.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/bedrock/b-5.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=77c602e00278c96213d4ec40d13a7573" width="541" height="103" data-path="images/extensions/bedrock/b-5.png" />
  </Step>

  <Step title="Step 3">
    You will need to include following required AWS credentials:

    * **AWS Access Key**
    * **AWS Secret Access Key**
    * **AWS Region**

    <br />

    To create IAM user with **Access Key** and **Secret Access Key** refer to the **AWS IAM User Creation** intructions below and then continue from this current step.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/bedrock/b-6.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=797e4493376e35f05a79156c147a3328" width="796" height="560" data-path="images/extensions/bedrock/b-6.png" />
  </Step>

  <Step title="Step 4">
    After you are done with the configuration, click on the **Save** button.
  </Step>

  <Step title="Step 5">
    <Check>Congratulations! You have successfully completed the Amazon Bedrock extension configuration. Proceed to the section below on how to use it.</Check>
  </Step>
</Steps>

## AWS IAM User Creation

By default all access to IAM users are denied, except for the root user. Make sure to keep your root user credentials in a secure place, you don't need them for Davinci AI.

<Steps>
  <Step title="Step 1">
    Sign in to the [AWS Management Console](https://console.aws.amazon.com/console/) and open the [IAM](https://console.aws.amazon.com/iam/) console.
    <Tip>Or simply search for IAM service once you are logged in</Tip>
  </Step>

  <Step title="Step 2">
    Once you are at the IAM service page, in the left navigation pane, choose **Access management** -> **Users** and then click on **Create User** button.

    1. Provide **User name** as needed, and click on **Next** button

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-1.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=cbf152edea92473ed50df5f36ce44e3f" width="1680" height="463" data-path="images/ai/aws/polly/iam-1.png" />

    2. On the **Set permissions** page, specify how you want to assign permissions to this set of new users. Choose **Attach policies directly option**. It will show you all the availalbe policies.
       <br /> Select and add following 2 policies:

    * **AmazonBedrockFullAccess**
      <br />Click on **Next** button afterwards

    3. On the **Review and create** step, you should see following policies being added.
       Click on **Create User** button.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/bedrock/b-1.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=c4406ead62dcb246007330af9ae28483" width="2250" height="518" data-path="images/extensions/bedrock/b-1.png" />
  </Step>

  <Step title="Step 3">
    Once you have created a new IAM user, he will be available at the **Users** list. Click on your newly created user. You will be shown full details of that newly created user. Next:

    1. Select the **Security credentials** tab
    2. And click on **Create access key** button

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-3.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=fa90be138d75f94aee4e5ea6da6628b6" width="1650" height="185" data-path="images/ai/aws/polly/iam-3.png" />

    3. Select **Third-party service** from the list and click on **Next** button.

    <img src="https://mintcdn.com/magicads/sOSxKmkB3A1LT8Q_/images/ai/aws/polly/iam-4.png?fit=max&auto=format&n=sOSxKmkB3A1LT8Q_&q=85&s=a6949a3211ff4879e934e2de52cbfd6e" width="1379" height="854" data-path="images/ai/aws/polly/iam-4.png" />

    4. Copy your **Access Key** and **Secret Access key** and store them in a secure place.
  </Step>

  <Step title="Step 4">
    Next, you need to enable target models in **Amazon Bedrock** service itself in your **AWS account**.
  </Step>

  <Step title="Step 5">
    In the homepage of your **AWS Management Console** search for **Amazon Bedrock** and click on it.

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/bedrock/b-2.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=94ed5d56bc0282ff693c339c57491d82" width="955" height="311" data-path="images/extensions/bedrock/b-2.png" />
  </Step>

  <Step title="Step 6">
    And in your Amazon Bedrock page, on the right menu panel, at the bottom of the menu list under **Bedrock configurations** list, click on **Model Access**. tab. It will show all the models that are available to you in your target reion.
    Request access to following models:

    * Nova Premier
    * Nova Pro
    * Nova Lite
    * Nova Micro
      <Note>Please pay close attention to your `AWS Region` on the top right corner, all enabled models are region specific.</Note>

    <img src="https://mintcdn.com/magicads/DO-ZSxDPJY87YYah/images/extensions/bedrock/b-3.png?fit=max&auto=format&n=DO-ZSxDPJY87YYah&q=85&s=2b9453f947d8117d523aa22925fe511c" width="2083" height="335" data-path="images/extensions/bedrock/b-3.png" />
  </Step>

  <Step title="Step 7">
    This concludes your Amazon Bedrock setup, you now have Nova models accessible in your selected **AWS Region**.
  </Step>

  <Step title="Step 8">
    Next, go back to **Step 3** of **Extension Configuration** section above and continue.
  </Step>

  <Step title="Step 9">
    You have completed the AWS IAM creation process.
  </Step>
</Steps>

## How to Use

Using Amazon Bedrock is an easy task. We have created a detailed intructions on how to use AI Models [here](/core/models), make sure that all steps above are completed first with Amazon Bedrock setup.
