Installation
Credentials
Get your Upstash credentials from the Upstash Console and set them as environment variables:Available resources
- RedisDatabase - Serverless Redis database
- KafkaCluster - Serverless Kafka cluster
- KafkaTopic - Kafka topic within a cluster
Redis example
Kafka example
Redis with REST API
Upstash Redis can be accessed via HTTP:Global replication
Create globally replicated Redis databases:Next steps
Upstash API
Complete API reference
Redis client
Upstash Redis documentation