Connect to a Redis Cloud database

Redis Cloud

After you create your database, you can connect to it.

To connect to the database, you need your username and password. By default, your database is protected by a Default user called default and a masked Default user password. You can see the default user password in the Security section of the Configuration details for your database. Select the eye icon to show or hide the password.

The Security section of the Configuration tab of the database details page.

If you've turned on Role-based access control for your database and turned off the default User, use the username and password for your data access role.

Once you have the username and password, select Connect to open the connection wizard.

Connect button.

The connection wizard provides the following database connection methods:

The connection wizard.

Redis Insight

Redis Insight is a free Redis GUI that lets you visualize your Redis data and learn more about Redis.

You can connect to your database with Redis Insight in two ways:

  1. Open your database in Redis Insight in your browser.

  2. Download and Install Redis Insight on Windows, macOS, and Linux.

Open in your browser

Note:
Opening your database with Redis Insight in your browser is currently available for some Essentials databases, and will be available to more Essentials databases over time.

If Redis Insight on Redis Cloud is available for your database, select Launch Redis Insight web from the connection wizard to open it.

Launch Redis Insight web from the Connection Wizard.

You can also select Launch from the database page under View and manage data with Redis Insight to open Redis Insight in your browser.

Launch Redis Insight web from the database page.

Redis Insight will open in a new tab.

This browser-based version of Redis Insight has a subset of the features of Redis Insight. For more information, see Open with Redis Insight on Redis Cloud.

Install and open on your computer

  1. If you haven't downloaded Redis Insight, select Download under Redis Insight in the Connection wizard to download it.

  2. Install Redis Insight.

  3. Once installed, select Open with Redis Insight.

  4. A pop-up asks if you wish to open the link with Redis Insight. Select Open Redis Insight to connect to your database with Redis Insight.

If you get an error when connecting with Redis Insight, manually connect to your database from Redis Insight.

You can use Redis Insight to view your data, run Redis commands, and analyze database performance. See the Redis Insight docs for more info.

Redis client

A Redis client is a software library or tool that enables applications to interact with a Redis server. Each client has its own syntax and installation process. For help with a specific client, see the client's documentation.

The connection wizard provides code snippets to connect to your database with the following programming languages:

The connection wizard clients.

If the username and password are not already filled in, replace <username> and <password> with your username and password.

See Clients to learn how to connect with the official Redis clients.

redis-cli

The redis-cli utility is installed when you install Redis. It provides a command-line interface that lets you work with your database using core Redis commands.

To run redis-cli, install Redis Stack on your machine. After it's installed, copy the redis-cli command under Redis CLI in the connection wizard and enter it into your terminal. If the username and password are not already filled in, replace <username> and <password> with your username and password.

See Redis CLI to learn how to use redis-cli.

More info

RATE THIS PAGE
Back to top ↑