Amazon Bedrock and Knowledge Bases for Retool AI

@MackL I'm super glad to see the support for additional providers!

I tried to enable the bedrock integration in our settings, but it does not seem to be listed under the models section when adding a new ReTool AI action.

I created a new IAM user in our AWS account and at first gave it an inline policy where it had permissions to ListFoundationModels, InvokeModel and InvokeModelWithResponseStream but that didn't seem to work. I then tried attaching the managed policy of AmazonBedrockFullAccess but still nothing. I even tried a full admin access policy. The user also states it has not been used at all in the IAM console. I did double check that the credentials work and can create a completion through the AWS CLI.

Are there more permissions that need to be granted in order for ReTool to successfully utilize AWS Bedrock? I imagine best practice would be to create an IAM user specifically for ReTool with only the permissions needed for accessing bedrock.

I have configured the other providers: google, azure, and openai with no problems at all. The docs were straightforward for the other providers, but I think more detail would be helpful for enabling bedrock. It would also be awesome to receive immediate feedback if the configuration we enter is valid within the settings.

An awesome feature to support additional providers nonetheless! :tada:

2 Likes