Authentication
Enterprise All HTTP requests to LanceDB APIs must contain an x-api-key header that specifies a valid API key and must be encoded as JSON or Arrow RPC. To authenticate to the Enterprise REST API, you need the endpoint for your deployment and a valid API key for that deployment.Get your Enterprise credentials
-
Obtain the following values from your LanceDB administrator or the LanceDB team that provisioned your Enterprise deployment:
- an API key
- your Enterprise REST endpoint
- your database name, if your deployment uses a private endpoint or
host_override
- Export those values in your terminal:
- If your Enterprise deployment is private, connect through the private network endpoint provided for your deployment. For example, Azure Private Link deployments commonly use a private IP or an internal DNS name as the endpoint.
Verify authentication
- Check that you can reach the deployment and list tables:
x-lancedb-database header.
- Create a table to confirm write access. Let’s call it
words.
- Check that the table has been created:
Tutorials
Check out our tutorials on building various applications with LanceDB.