---
title: AI provider configuration
url: https://www.tines.com/docs/self-hosted/configuring-tines/ai-provider-configuration/
updated: 2026-04-27T13:37:12+00:00
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Self-Hosted](https://www.tines.com/llm/docs/self-hosted.md) › [Configuring Tines](https://www.tines.com/llm/docs/self-hosted/configuring-tines.md)*

# AI provider configuration

*[View on tines.com](https://www.tines.com/docs/self-hosted/configuring-tines/ai-provider-configuration/)*

You can connect your self-hosted Tines tenant to different AI providers.

If connecting to Anthropic or OpenAI (and other compatible schemas), the [configuration is the same as on cloud tenants](https://www.tines.com/docs/ai/).

# Amazon Bedrock

Configuring Amazon Bedrock is possible for tenants hosted on AWS infrastructure. Tines make requests to Bedrock using the assumed roles/credentials of the container hosting the Tines instance. Because of this, those credentials must be configured with the following IAM role permissions are required:

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "BedrockModelAccessPermissions",
      "Effect": "Allow",
      "Action": [
        "bedrock:InvokeModel*",
        "bedrock:GetInferenceProfile",
        "bedrock:ListInferenceProfiles"
      ],
      "Resource": "*"
    }
  ]
}
```

> **INFO:** You can set more restrictive roles to only grant access to the specific models you choose.

We recommend enabling the latest Anthropic Claude models for best performance and capabilities.

You can now fully customize which AWS Bedrock models are enabled in Tines, allowing you to select any models available in your AWS region.



> **TIP:** Self\-Hosted Tines is designed to work with your AWS account and AWS Bedrock service, so your data never leaves your environment. Just sign up for AWS Bedrock and you're ready to go.

# Story copilot

In order to effectively use story copilot, it is strongly recommended to use the latest top AI model from the major foundational AI providers (Anthropic and OpenAI).

# Automatic mode

In order use automatic mode, Tines Command Runner must be configured and enabled.
