

1: Connecting to a database
The examples in this course are inside mini windows of their own that look like this...
...and this.
You don't need to think about installing SurrealDB or starting a connection of your own to run any of them.
But you can also run the examples in a more manual way, if you prefer. Here is how to do it.
The Surrealist sandbox: go to the Surrealist website which defaults to a Sandbox connection, and use that in a separate window. You can copy and paste query samples there. The data won't be erased unless you click on "Reset sandbox environment" or reload the window.
Using Surreal Cloud: go to the website for SurrealDB's Surrealist app, click on Surreal Cloud and sign up for a free instance. Even a free account gives access to SurrealDB's specially made AI assistant, Surreal Sidekick.
Locally: Install SurrealDB in your machine, then type
surreal start --user root --pass rootin a terminal window to start the server with a single root user. Then connect using Surrealist or use the commandsurreal sql --user root --pass root --prettyin a second terminal window to connect using the CLI.