# How do I use PocketBase?

https://www.seturack.com/en/knowledgebase/article/how-do-i-use-pocketbase

1. In the panel, open **My servers** and click your server.
2. On the **Overview** tab, wait for the **App** row to say "PocketBase is ready". The page refreshes itself.
3. Open the link in the **Panel address** row and enter the details from the **Email** and **Password** rows.

## Your first collection

1. Create a table with **New collection** and add its fields.
2. On the **API rules** tab, choose who can read and write. A locked rule lets only superusers in, while an unlocked empty rule lets everyone in.
3. From your app, send requests to the `/api/` path of your site address.

## Good to know

- Your data is in the `/home/pocketbase/pb_data` folder.
- To update, check the version shown on the admin screen, put the new file in place of `/home/pocketbase/pocketbase` and run `systemctl restart pocketbase`.

## Your own domain

1. Point your domain's A record to your server's IP address.
2. Replace the address on the first line of `/etc/caddy/Caddyfile` with your domain and run `systemctl reload caddy` as root.

Caddy gets and renews the certificate by itself.

**No server yet?** [Order a server with PocketBase installed](https://www.seturack.com/en/pocketbase-vps): you choose the size and pay for what you choose.
