Skip to main content

Upstash Integration

Upstash is a serverless and low-latency Redis-compatible data store for modern applications.

Upstash follows the same connection method as MongoDB, providing the database name, TLS settings, server information, and credentials for authentication.

Add Mongodb

Here's a table detailing the properties for Upstash integration using the MongoDB resource type:

PropertyTypeDescriptionDefaultRequiredWhere to FindAdditional Details
dbintegerDatabase indextrueRedis Server ConfigurationIndex of the Redis database you want to connect to
tlsbooleanUse TLS for connectionstruefalseYour own preferenceSet to true for secure connections
serversarrayArray of server objectstrueRedis Server ConfigurationEach server object should contain host and port
host (nested)stringServer addresstrueRedis Server ConfigurationHostname of the Redis instance
port (nested)integerPort number6379falseRedis Server ConfigurationDefault Redis port is 6379
credentialobjectAuthentication informationtrueRedis Server ConfigurationContains password
password (nested)stringDatabase passwordtrueRedis Server ConfigurationYour Redis server's password