Getting Started / First Connection

Clash Subscription Setup and Connection Guide

Complete your first connection in four steps, from importing a profile to checking matched rules. Set aside about 10 minutes if your client and subscription are ready.

Step 01 / Profile

Import a Subscription and Enable the Profile

Open your Clash client and go to Profiles or Subscriptions. If you have a subscription URL, distinguish the provider's sign-in page from the actual subscription link: the former is for signing in or managing your plan, while the latter is usually available through a “Copy subscription” option on the provider's site. If multiple formats are offered, choose one labeled Clash or compatible with your core. Import the link directly in the client. Don't paste the full URL into a public converter, chat group, or screenshot—it may contain credentials that grant access to your config.

Import from a Link or Local File

On the Profiles page, choose “New,” “Add,” or “Import,” then select Remote and paste the full copied URL into the URL field. Give it a descriptive name, such as “Everyday laptop”; there's no need to include the link in the name. Save and wait for the download to finish. If the new entry shows an update in progress, let it complete. On success, you'll usually see the profile name, and some clients also show the update time. If you get a format error, copy the Clash-compatible link again from your provider rather than repeatedly adding the same failed entry.

If you have a downloaded YAML file, choose “Import from file” on the same page and open it with the system file picker. Don't paste a local file path into the remote subscription field. Either method creates an entry in the profile list, but a local import won't automatically receive updates from the original subscription. You can use a file for your first connection; to update it later, import the new file from your provider and switch to that profile.

Select the newly imported profile

Return to the list and click the new entry, or choose “Enable” or “Use this profile” from its menu. The client may mark the active profile with a check, a highlighted row, or a “Current profile” label. Next, open Proxies and check that the groups and nodes match the new profile. If the old groups are still shown, go back and make sure the active selection changed. If the new entry is selected but the page keeps failing to load, check the runtime logs for a config parsing error. For subscription expiry, update failures, or incompatible fields, see Help Center troubleshooting. Make sure the new profile has loaded before choosing a mode.

Step 02 / Routing

Choose a Proxy Mode and Node

The profile defines its rules, policy groups, and nodes; the mode determines how the client uses them. Open Proxies or the mode menu on the home screen, choose Rule (Rule), and confirm it is highlighted. Rule mode matches connections against the profile, so different requests on the same device can go direct or through a proxy. Global sends client traffic through the global policy and is useful for a quick comparison; Direct sends routed traffic straight out. Leave the client in Rule mode for now so you can check both paths in step four.

Check the Current Policy Group Selection

On the Proxies page, find the policy group the profile author set up for this type of request. Group names depend on the profile; you might see “Select Node,” “Manual Select,” or a custom name in English. If the group can be expanded, choose a node you recognize and can use, then confirm the selection indicator changes. Some groups contain nested groups, so the top-level name may not be the final route; expand them to see the actual members. If you want these requests to use a proxy, don't leave the group on DIRECT, which means a direct connection.

If the current policy group is automatic, check which route is selected; there's no need to change the test interval or group type for an initial check. If there's a test button, you can test just the current candidate node. A speed test only shows access to its test endpoint—it doesn't guarantee the site you're checking will work. A response time also doesn't mean your browser is using the proxy. For your first test, note the profile name, mode, and actual exit route so you can compare them with the connection records. For failed tests or automatic group switching, see the Help Center.

Step 03 / Connect

Connect the Client and Route Device Traffic

After choosing a policy, you also need to route app requests through the client. The Proxies page may show nodes and the core may be running in the background, but neither means your browser is using a proxy. Desktop and mobile use different controls, so follow the section for your device. Use one routing method for this test rather than enabling multiple traffic-capture tools; that makes it easier to identify which layer is working.

Desktop: Enable System Proxy First

Find System Proxy on the client's home screen, in Settings, or in the tray menu, and turn it on. If starting the core and setting the system proxy are separate actions, start the core first, then enable the proxy. Once the setting stays on, test with a browser that uses the system network settings. Some browsers let you configure a proxy separately, and extensions may override system settings; check the browser settings if you're unsure. On a work or school device with an administrator-managed proxy, don't override it—ask which connection method is approved.

System Proxy affects only apps that follow that setting. So it's possible for a browser test to pass while a standalone app continues to connect its usual way. There's no need to enable TUN for the first test. If you need to route apps that don't use the system proxy, follow the usage guide to check platform permissions, the virtual network adapter, and routing settings. If the browser loses internet access after you stop the client, check whether System Proxy is still enabled. On a personal device, you can undo the setting in the client; on a managed device, restore the original network configuration as directed.

Mobile: Tap Connect and Approve the System Prompt

Return to the client's home screen, confirm the active profile, then tap Connect or the start button. The first time, the system may ask to add a VPN configuration or establish a VPN connection. Confirm that the request comes from the client you just opened, then approve it as prompted. Return to the app and wait for the status to show Connected; the system status bar or network settings may also show the VPN status. If another VPN is already running, check whether it's safe to disconnect before trying again. Don't disable a connection managed by your organization without permission.

If the status turns on and then drops immediately, check for a client error instead of repeatedly toggling the switch. You're not at the rule verification stage yet: if the client reports a config startup failure, go back to step one and check the active profile; if it reports a permissions issue, resolve the system prompt first. Once the connection is stable, switch to your browser and make a new request.

Step 04 / Verify

Verify the Connection and Rules

“Connected” only confirms that the client established an entry point, and a page loading doesn't prove it used a proxy. Open the client's Connections page first; if it has no live connection list, check the runtime logs. In your browser, open a new tab and visit a site you expect the current profile to proxy. Note the time and domain, then switch back to the client right away. Make a fresh request rather than relying on a page loaded before the connection started. Short-lived requests are usually easier to find in the logs after they disappear from the connection list.

Check Proxy and Direct Requests Separately

Find the request by domain in the connection list, then expand its details to check the matched rule, policy group, and final route. A webpage may load multiple subdomains and external resources, so don't mistake a nearby unrelated request for the target domain. A request expected to use a proxy should match the relevant policy and end up on a node. Then visit a site that the current profile should connect to directly and check that its request uses DIRECT. Only when both checks match expectations have you verified rule-based routing—not just that one route works.

Use the Results to Decide Which Step to Revisit

If neither test domain appears, revisit step three first: check System Proxy, browser settings, or mobile VPN authorization. Changing nodes usually won't help at this point. If requests are logged but one expected to use a proxy goes direct, confirm the active profile and Rule mode, then check which rule matched and whether its policy group is set to a direct route. If the rule and route are correct but proxy requests keep timing out, switch to another node in the same group and retest the same site. Change one thing at a time so you can tell what fixed the issue.

Once the test passes, you can keep the current profile and Rule mode. If you switched to Global for comparison, return to Rule and test a direct request again. When you change subscriptions or client versions later, reuse the same two test domains to tell whether the profile changed or traffic routing was reset. For certificate warnings, DNS issues, or connection timeouts, use the Help Center to troubleshoot by symptom. For details on platform permissions, TUN, or system network settings, consult the usage guide.

Download the Latest Clash Version