Add a server or import a subscription
When you open Shadowrocket it lands on the Home page. The lower half of the page is the SERVER group, listing every server you have added; on a fresh install it is empty, and there are two ways to fill it: add one server by hand, or import several at once with a subscription link.
Adding a server by hand: tap Add Server in the SERVER group (or the + in the top-right corner) to open the Add Server page, then fill in the fields with the details you already have. Type selects the protocol — common ones are Shadowsocks, VMess, VLESS, Trojan, Hysteria2, and WireGuard; Host takes the server address, Port the port number, and Password and Method the values from your provider, while the remaining fields can stay at their defaults. When everything looks right, tap Done in the top-right corner to save, and the entry appears back in the SERVER list on the Home page. Once added, entries in the list can be edited or deleted at any time — just make sure the details come from your own provider before you change anything.
Importing a subscription: on the Home page choose Subscribe (the entry is also under the + in the top-right corner) and paste the subscription link from your provider into the address field, in the form https://example.com/sub?token=xxxx. After you save it, the app fetches the configuration and builds the server list automatically. The advantage of a subscription is that when your provider updates its servers, one refresh in the app keeps you in sync — no editing each server by hand. Providers sometimes hand out a QR code or a configuration file instead; those map to Scan QR Code and Import from Cloud JSON at the bottom of the Add Server page, so pick whichever matches what you received.
Two things that often go wrong: first, Type must match the details you have — pick the wrong protocol or encryption method and the connection will always fail; second, subscription links and passwords are access credentials, so don't post them publicly and keep them safe when you switch devices.
Once an entry shows up in the list, don't connect yet — first confirm the Global Routing mode, then turn on the switch.