# DeltaStream

DeltaStream is a serverless stream processing platform that integrates with streaming storage services. DeltaStream provides a SQL-based interface wherein you can easily create stream processing applications such as streaming pipelines, materialized views, microservices, and many more.

This document walks you through setting up WarpStream to be used as a data [Store](https://docs.deltastream.io/overview/core-concepts/store) in DeltaStream.

## Step 1: Setting up the WarpStream credentials

### Prerequisites

* DeltaStream account: get access to DeltaStream [by registering here](https://console.deltastream.io/).
* WarpStream account: get access to WarpStream [by registering here](https://console.warpstream.com/signup).
* The WarpStream cluster is up and running with active, populated topics.

### Create a WarpStream credential

* Navigate to your WarpStream console and select the appropriate Cluster.
* Select **Credentials** from the top row navigation.

<figure><img src="https://77315434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjB7FxO8ty4EXO4HsQP4E%2Fuploads%2Fgit-blob-a8e171702bb4478a7d8461b8d7e4b7e2b1e801c0%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Name the credential and then click to create. **`dsCred`** in this example.

<figure><img src="https://77315434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjB7FxO8ty4EXO4HsQP4E%2Fuploads%2Fgit-blob-20083e0cad81da689a7dd4c7ed68358b076bccab%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Follow the instructions, and save the credentials in a safe place.

## Step 2: Connect DeltaStream to WarpStream

* Back in DeltaStream, navigate to the **Resources** section, click **Add Store,** and select **Kafka**.

<figure><img src="https://77315434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjB7FxO8ty4EXO4HsQP4E%2Fuploads%2Fgit-blob-a27f586df86bbcdc97b6cb4c13dfc226500265ec%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

* Fill in the Kafka dialog as follows:
  * **Name** - In this example **WarpStream**
  * **Region** - Select from the available areas (the one most applicable)
  * **URLs to connect -** Applicable bootstrap server and port, here **`serverless.warpstream.com:9092`**
  * **SASL Hash Function** - select **SHA512**
  * **Username** - This is the username from the credential you created in WarpStream
  * **Password** - This is the password from the credential you created in WarpStream

<figure><img src="https://77315434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjB7FxO8ty4EXO4HsQP4E%2Fuploads%2Fgit-blob-0a9d95c0a25df7c50e28ec266099dce90668f07a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://77315434-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjB7FxO8ty4EXO4HsQP4E%2Fuploads%2Fgit-blob-384305d421bebb7c1d39cebd895fd1bddb9674c4%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Next Steps

Everything is now configured for you to define [DeltaStream Objects](https://docs.deltastream.io/tutorials/relation) and start executing [queries](https://docs.deltastream.io/reference/sql-syntax) against your Apache Kafka®-compatible WarpStream data stores.
