This guide walks you through creating an AI Search instance using the Cloudflare dashboard.
-
Go to AI Search in the Cloudflare dashboard.
Go to AI Search ↗ -
Select Create Instance.
-
Name your AI Search instance.
-
Optionally connect a data source such as a website you own, an R2 bucket, or a D1 database.
To connect a D1 database, select D1 Database, choose the database, write the SQL query, and choose a document template. Select Test query to check the query before you continue.
-
Review your configurations.
-
Select Create.
Once an instance has been created, you can upload files directly from the dashboard.
-
Go to AI Search in the Cloudflare dashboard.
Go to AI Search ↗ -
Select your instance.
-
Select the Items tab.
-
Upload your files. AI Search indexes them automatically.
Once your content is indexed, you can run your first query.
- Go to your AI Search instance.
- Select the Playground tab.
- Select Chat or Search.
- Enter a query to test the response.
There are multiple ways you can connect AI Search to your application: