# ClashX

## Installation Environment

{% hint style="info" %}
This guide was written under...

macOS 10.14.1&#x20;

ClashX 1.10.0
{% endhint %}

## Step 1: Download and Install ClashX

Click [here ](https://wannaflix.com/dl.php?type=d\&id=8)to download ClashX

If it is the first time using ClashX, a pop up will appear saying that the app is from an unknown developer. You  need to allow this app to open.

The first time ClashX runs, you will be prompted to install a plugin. This plugin is used to set up the system proxy, otherwise you will need to enter your administrator password each time you connect to the VPN. Click "Install" and macOS will prompt for the user password.

![](/files/-LkRpNrofZDNW4oJpMhJ)

## Copy Your API Link

1. Login to your client area (<https://wannaflix.com/clientarea.php>)
2. Click on "Manage your VPN Subscription" under 'Your Subscription'
3. Under the box "Your Subscribe Links", click on the "Clash API Link" button to copy your link to the clipboard

{% hint style="danger" %}
This subscription link is just as important as your password, please keep it secure
{% endhint %}

## Configuring ClashX

After running ClashX, click the Clash icon (a kitten) on the menu bar, and then click “Config – Remote Config – Set Url” in the menu.

![](/files/-LkRqC9OuVMMIobElrtx)

A new window will open. Paste your Clash API link and click OK.

If you have pasted the correct link and the network is properly connected to the Wannaflix API, you should see a success message.

![](/files/-LkRr3PxDsRkD6I_qCmI)

Check "Set as system proxy" to enable ClashX and connect to Wannaflix. You can select the server by clicking on Wannaflix and selecting a server from the list.&#x20;

We also recommend to check "Start at login" to automatically launch the ClashX application at boot time.

![](/files/-LkRrZOm-OD4aAi048HE)

## If you are upgrading from a previous ClashX version

After updating from the old version of Clash to the 1.10.0 version, you will see the following error:

![](/files/-LkRs79wSn4AcEmcNmJ6)

This is a known bug with the current version of clash. It's not related to the Wannaflix configuration API.&#x20;

To solve this, click the ClashX icon in the status bar and select "Configure" - "Open Configuration Folder".

Delete the config.yaml file in the open Finder window.

![](/files/-LkRsXdsSGkd5rfcSv1q)

Then exit and restart the ClashX application.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wannaflix.net/installation-guides/mac-os/clashx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
