# ![Amazon Bedrock logo](https://models.dev/logos/amazon-bedrock.svg)Amazon Bedrock Amazon Bedrock is available through the AI SDK. Install the provider package to use their models with Mastra. For detailed provider-specific documentation, see the [AI SDK Amazon Bedrock provider docs](https://ai-sdk.dev/providers/ai-sdk-providers/amazon-bedrock). To use this provider with Mastra agents, see the [Agent Overview documentation](https://mastra.ai/docs/agents/overview). ## Installation **npm**: ```bash npm install @ai-sdk/amazon-bedrock ``` **pnpm**: ```bash pnpm add @ai-sdk/amazon-bedrock ``` **Yarn**: ```bash yarn add @ai-sdk/amazon-bedrock ``` **Bun**: ```bash bun add @ai-sdk/amazon-bedrock ```