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 Redis password and URL below. If you enabled
TLS, the endpoint should start with rediss