You're also goint to need a database server. For now only MySQL/Mariadb is supported. I'm going to use Mariadb as an example.
First - install mariadb (the server!). Set it up, edit config, run whatever it asks you to run on installation. Making configurations, **make sure it creates a unix socket at `/run/mysqld/mysqld.sock` and user running pica has permissions to write to this socket!** By default it does, so, you're probably okay with default configuration.
Next you need to login to mariadb database server, usually it's done like so:
```
$ mariadb -u root -p
```
It will query your password, and then you should see mariadb propt. There you need to execute following commands:
```sql
CREATE DATABASE pica;
CREATE USER 'pica'@'localhost' IDENTIFIED BY 'pica';
GRANT ALL PRIVILEGES ON pica.* TO 'pica'@'localhost';
FLUSH PRIVILEGES;
```
Flushing privileges is not really needed, but it's typicaly written. After that just quit mariadb with `quit;` command.