1 Create a Maven Project
Create a maven project and copy the following dependency to your pom.xml
2 Create a Redis (Upstash) Database
Create a database as getting started
3 Code
Create your java file and replace the password and address below. The Token
shown in the Upstash Console is your database’s password. TLS is enabled for
all Upstash databases, so the address should start with rediss://.