Skip to main content

Redis Integration

Redis is an in-memory data structure store used as a database, cache, and message broker.

Redis 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 Redis integration using the MongoDB resource type:

Here's the table filled out for an Upstash connection:

PropertyTypeDescriptionDefaultRequiredWhere to FindAdditional Details
dbintegerDatabase index0falseUpstash DashboardIndex of the Upstash database you want to connect to
tlsbooleanUse TLS for connectionstruefalseYour own preferenceSet to true for secure connections
serversarrayArray of server objectstrueUpstash DashboardEach server object should contain host and port
host (nested)stringServer addresstrueUpstash DashboardHostname of the Upstash instance
port (nested)integerPort number6379falseUpstash DashboardDefault Redis port is 6379
credentialobjectAuthentication informationtrueUpstash DashboardContains password
password (nested)stringDatabase passwordtrueUpstash DashboardYour Upstash server's password