How to Integrate Bright Data With LangChain
1
Pre-requisites
- Bright Data API key
- Active SERP Zone for search engine capabilities
- Active Unlocker API zone for Scraping
2
Obtain Your Bright Data API Key
- Log in to your Bright Data dashboard.
- Go to Account Settings.
- Generate an API key if you haven’t already done so.
3
Install the Bright Data Integration
You can install the Bright Data integration directly from GitHub using the tool code available here.
This integration will be published to PyPI by the end of the week. Once available, you’ll be able to install it using:
4
Set the environment variable
Set your Bright Data API key as an environment variable:
5
Example usage