Can't create snapshot after new installation

I’m trying to make a snapshot or /folder with the following:

sudo kopia snapshot create /folder

This is the error message:

ERROR open repository: repository is not connected. See Repositories | Kopia

The error message indicates that your repository is not connected and kopia doesn’t know which repository to use, which is expected on a new installation. You need to run kopia repository connect to tell kopia where your snapshots are located.