Workers Binding
Query AI Search directly from your Workers code.
← Ai Search / ai-search / get-started
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 or an R2 bucket.
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.
There are multiple ways you can connect AI Search to your application: