Skip to navigation

Quickstart

Follow this guide to get up and running with Interlace in just a few steps.

1

Choose your deployment

The simplest way to use Interlace is through our hosted cloud platform at app.useinterlace.com.

If you prefer to run Interlace yourself, you can deploy it locally on macOS, Linux or WSL. After cloning the repository and starting the server, you will be able to open the dashboard at http://localhost:8080

git clone https://github.com/interlace-ai/interlace.git
cd interlace
./start.sh
2

Set-up Interlace client

Interlace provides SDKs for Python and Node.js. Install the package.

pip install interlace-sdk

Now, create and copy your API key from your Interlace dashboard.

Initialize the Interlace client with your new API key. For local deployments, set base_url to "http://localhost:8001".

from interlace import InterlaceSDK
interlace = InterlaceSDK(api_key="YOUR_API_KEY", base_url="https://api.useinterlace.com")
3

Create a collection

A collection is a group of different data sources that you can search using a single endpoint.

collection = interlace.collections.create(name="My First Collection")
print(f"Created collection: {collection.readable_id}")
4

Add source connection(s) to your collection

A source connection links a specific app or database to your collection. It handles authentication and automatically syncs data.

source_connection = interlace.source_connections.create(
name="My Stripe Connection",
short_name="stripe",
readable_collection_id=collection.readable_id,
authentication={
"credentials": {
"api_key": "your_stripe_api_key" # Replace with real API key
}
}
)
print(f"Status: {source_connection.status}")
5

Search your collection

You can now search your collection and get the most relevant results from all connected sources.

response = interlace.collections.search.instant(
readable_id=collection.readable_id,
query="Find returned payments from user John Doe?",
)
for result in response.results:
print(result.name, result.relevance_score)

You’ve now successfully deployed Interlace, connected your first data source, and searched your first collection. To continue, you can explore more integrations and dive into the API reference. For community and support, check out the links below.