--- layout: article title: Connect Clients to your Instance categories: [hosting] featured: false popular: false tags: [hosting, environment] order: 10 --- By default, Bitwarden client applications (Browser Extensions, Mobile Apps, etc.) will connect to Bitwarden-hosted servers. Client applications can be configured to connect to your self-hosted Bitwarden instance. ### Browser Extensions, Desktop Apps, and Mobile Apps Complete the following steps to connect your client application to your self-hosted instance: 1. Log out of the client application. 2. On the Login screen of the client application, select the {% icon fa-cog %} **Settings** icon in the top corner. 3. In the **Server URL** field, enter the domain name for your instance with `https://` (for example, `https://my.bitwarden.server.com`). Users with unique setups may elect to specify the URL of each service independently in the **Custom Environment** section. 4. Select the **Save** button. ### CLI Logout using `bw logout`, and run the following command to connect the Bitwarden CLI to your self-hosted instance: ``` bw config server ``` where ``. Users with unique setups may elect to specify the URL of each service independently using: ``` bw config --web-vault bw config --api bw config --identity bw config --icons bw config --notifications bw config --events ```