Skip to content

Dashboard

This guide walks you through creating an AI Search instance using the Cloudflare dashboard.

Create an AI Search instance

  1. Go to AI Search in the Cloudflare dashboard.

    Go to AI Search ↗
  2. Select Create Instance.

  3. Name your AI Search instance.

  4. 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.

  5. Review your configurations.

  6. Select Create.

Upload content

Once an instance has been created, you can upload files directly from the dashboard.

  1. Go to AI Search in the Cloudflare dashboard.

    Go to AI Search ↗
  2. Select your instance.

  3. Select the Items tab.

  4. Upload your files. AI Search indexes them automatically.

Try it out

Once your content is indexed, you can run your first query.

  1. Go to your AI Search instance.
  2. Select the Playground tab.
  3. Select Chat or Search.
  4. Enter a query to test the response.

Add to your application

There are multiple ways you can connect AI Search to your application:

REST API

Query AI Search using HTTP requests.

Was this helpful?