1. Online Store Setup

The Chalk online store holds the latest computed feature values for low-latency serving. This guide covers how to connect a Valkey/Redis or DynamoDB instance to your Chalk environment.

For help choosing between store options, see Choosing an Online and Offline Store.

To navigate to the setup form in the Chalk dashboard, go to Integrations > Online Stores.


Valkey / Redis

Create an instance

Create a Valkey or Redis instance that is network-accessible from your cloud account (e.g. AWS ElastiCache, GCP Memorystore, Azure Cache for Redis, or a self-hosted cluster).

Connection URI format

[protocol]://[host]:[port]/[database]?[query_params][#fragment]
PartDetails
Protocolredis:// or valkey:// for non-TLS; rediss:// or valkeys:// for TLS
AuthenticationAdd password=<token> as a query parameter if authentication is enabled
Cluster modeAdd clustered=true or clustered=false
TLS verificationAppend #insecure to disable certificate verification

Examples

redis://localhost:6379/0?clustered=false
rediss://my-cluster.cloud.com:6379/0?password=your_token&clustered=true
valkeys://my-cluster.cloud.com:6379/0?password=your_token&clustered=true#insecure

Apply the configuration

  1. Store the connection URI as a secret in your secret manager.
  2. In the Chalk dashboard (Integrations > Online Stores), enter the secret name in the form.
  3. Click Save and Apply. Chalk will restart the relevant system resources with the new online store.

DynamoDB

Create an instance

Setting up DynamoDB as your online store involves four steps:

  1. Create a DynamoDB table in your AWS account.
  2. Construct the connection URI.
  3. Store the URI as a secret.
  4. Enter the secret name in the Chalk dashboard.

Chalk provides vendored Terraform modules that automate steps 1–3 and output the secret name for you. See the DynamoDB Online Store Deployment guide for Terraform examples, capacity sizing, and multi-region configuration. You can also provision the table manually if you prefer.

Connection URI format

dynamodb:///[table_name]

Ensure the IAM role associated with your Chalk cluster has read/write access to the DynamoDB table.

Apply the configuration

  1. Store the connection URI as a secret in your secret manager.
  2. In the Chalk dashboard (Integrations > Online Stores), enter the secret name in the form.
  3. Click Save and Apply. Chalk will restart the relevant system resources with the new online store.