Elastic
Data Pipeline Quickstart with Elastic
Approximate time to complete: 5-10 minutes, excluding prerequisites
This quickstart will walk you through creating a pipeline that prepares your data for AI agents. You'll set up a pipeline that transforms content from the Vectorize documentation into structured, searchable context in Elasticsearch - giving agents the foundation they need to reason over your data, not just retrieve it.
Before you begin
Before starting, ensure you have access to the credentials, connection parameters, and API keys as appropriate for the following:
- A Vectorize account (Create one free here ↗ )
- An OpenAI API Key (How to article)
- An Elastic account (Create one on Elastic ↗)
Step 1: Create an Elasticsearch Deployment
Create and Configure Project
-
Navigate to the Elastic Cloud console and click Create project under the Serverless projects section.

-
Select Elasticsearch for building custom applications with your data, and click Next.

-
Name your project (e.g.,
vectorize-quickstart). -
Under Configuration, choose Optimized for Vectors.
-
Click Create project to initialize.

-
Once initialization completes, click Continue.

Generate API Key and Save Connection Details
-
Scroll down to the API Key section and click New to create a key.

-
Enter a name for your key (e.g.,
vectorize-quickstart) and optionally set an expiration date. -
Click Create API key.

-
Copy the generated API key and save it securely - you won't be able to retrieve it later.

-
Copy your Elasticsearch endpoint URL as well. You'll need this to connect to your deployment.

Step 2: Create a data pipeline on Vectorize
Create a New Data Pipeline
-
Open the Vectorize Application Console ↗
-
From the dashboard, click on
+ New RAG Pipelineunder the "RAG Pipelines" section.
-
Enter a name for your pipeline. For example, you can name it
quickstart-pipeline. -
Click on
+ New Vector DBto create a new vector database.
-
Select Elastic Cloud from the list of vector databases.

-
In the Elastic Cloud configuration screen:
- Enter a descriptive name for your Elastic Cloud integration.
- Enter the Host, Port, and your Elastic API Key.

-
Provide the index name you want to use in Elastic
- The Index Name can be the same as your pipeline name.

Configure AI Platform
-
Click on
+ New AI Platform.
-
Select OpenAI from the AI platform options.

-
In the OpenAI configuration screen:
- Enter a descriptive name for your OpenAI integration.
- Enter your OpenAI API Key.

-
Leave the default values for embedding model, chunk size, and chunk overlap for the quickstart.

Add Source Connectors
- Click on Add Source Connector.

- Choose the type of source connector you'd like to use. In this example, select Web Crawler.

Configure Web Crawler Integration
- Name your web crawler source connector, e.g., vectorize-docs.
- Set Seed URL(s) to
https://docs.vectorize.io.

- Click Create Web Crawler Integration to proceed.
Configure Web Crawler Pipeline
- Accept all the default values for the web crawler pipeline configuration:
- Throttle Wait Between Requests: 500 ms
- Maximum Error Count: 5
- Maximum URLs: 1000
- Maximum Depth: 50
- Reindex Interval: 3600 seconds

- Click Save Configuration.
Verify Source Connector and Schedule Pipeline
- Verify that your web crawler connector is visible under Source Connectors.
- Click Next: Schedule RAG Pipeline to continue.

Schedule Data Pipeline
- Accept the default schedule configuration
- Click Create RAG Pipeline.

Step 3: Monitor and Test Your Pipeline
Monitor Pipeline Creation and Backfilling
- The system will now create, deploy, and backfill the pipeline.
- You can monitor the status changes from Creating Pipeline to Deploying Pipeline and Starting Backfilling Process.

- Once the initial population is complete, the data pipeline will begin crawling the Vectorize docs and writing vectors to your Elastic index.

View Data Pipeline Status
- Once the website crawling is complete, your data pipeline will switch to the Listening state, where it will stay until more updates are available.

That's it! You've successfully created a data pipeline that transforms your content into structured context, ready for AI agents to reason over and make intelligent decisions.