Installation
This guide covers setting up a DataBridge server. If you just want to use an existing DataBridge server, see our Quick Start Guide instead.
Starting the Server
1. Clone the Repository
2. Setup Python Environment
Python 3.12 is supported, but other versions may work:
3. Install Dependencies
4. Configure Environment
Copy the example environment file and create your own .env
:
Then edit the .env
file with your settings:
5. Run Quick Setup
This script will automatically:
Configure your MongoDB database and indexes
Set up your S3 bucket
Create the required vector index
6. Generate Local Auth Token
Save the output URI - you'll need it to connect to your local server.
7. Start the Server
The server will start at http://localhost:8000
by default. Visit http://localhost:8000/docs
for the complete OpenAPI documentation.
Configuration Details
MongoDB Setup
You need a MongoDB Atlas cluster with Vector Search enabled
Create a database named as per your DATABRIDGE_DB setting
The server will automatically create required collections and indexes
AWS S3 Setup
Create an S3 bucket for document storage
Create an IAM user with permissions for this bucket
Use the access keys in your .env file
API Keys
OpenAI API key: Required for embeddings generation
Unstructured API key: Required for document parsing
Next Steps
See the Quick Start Guide to begin using your server
Last updated