# Synchronize Chat Logs with UpStash ## Prerequisites - GitHub account - Your own ChatGPT-Next-Web server set up - [UpStash](https://upstash.com) ## Getting Started 1. Register for an UpStash account. 2. Create a database.    3. Find the REST API and copy UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN (⚠Important⚠: Do not share your token!)  4. Copy UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN into your synchronization configuration, then click **Check Availability**.  If everything is in order, you've successfully completed this step.  5. Success! 