Get Started with Tavily
Requires Backend
v1.16.0+.Using Tavily with Portkey
1. Add Tavily Credentials to Portkey
- Click on the
Admin Settingsbutton on Sidebar - Navigate to
Pluginstab under Organisation Settings - Click on the edit button for the Tavily integration
- Add your Tavily API Key (obtain this from your Tavily account)
2. Add Tavilyβs Guardrail Check
- Navigate to the
Guardrailspage and click theCreatebutton - Search for βTavily Online Searchβ and click
Add - Configure the search behaviour (all parameters are optional):
- Set any
actionsyou want on your check, and create the Guardrail!
Guardrail Actions allow you to orchestrate your guardrails logic. You can learn more about them here
3. Add Guardrail ID to a Config and Make Your Request
- When you save a Guardrail, youβll get an associated Guardrail ID β add this ID to the
input_guardrailsparam in your Portkey Config - Create these Configs in Portkey UI, save them, and get an associated Config ID to attach to your requests. More here.
- NodeJS
- Python
- cURL

