Skip to main content
This integration method is maintained but no longer actively developed. For the best experience and latest features, use our new AI Gateway with unified API access to 100+ models.

Proxy Integration

1

Create an account + Generate an API Key

Log into helicone or create an account. Once you have an account, you can generate an API key.
2

Set HELICONE_API_KEY as an environment variable

3

Run the Bedrock command with the Helicone Proxy

Async Integration

1

Create an account + Generate an API Key

Log into Helicone or create an account. Once you have an account, you can generate an API key.
2

Set API keys as environment variables

3

Install necessary packages

Ensure you have the necessary packages installed in your JavaScript project:
4

Import required modules and initialize Helicone Logger

5

Configure AWS Bedrock client

6

Create a command for the Bedrock model

7

Send the request and handle the response

Complete Async Example

Here’s a complete example that puts all the steps together:
This integration allows you to use AWS Bedrock with Helicone’s async logging. The Helicone logger will automatically capture traces of your AWS Bedrock API calls, providing you with valuable insights and analytics through the Helicone dashboard. For more information on using async logging, visit the Async Logging documentation.