# How to Connect the Sally x402 MCP to an LLM Agent

### Getting Started

{% embed url="<https://www.youtube.com/watch?v=nkNbYlstnhY>" %}

In this tutorial, we use the OKX Wallet extension on the browser.﻿ Follow these steps:

### 1. Set Up Your OKX Wallet

* Download and install OKX Wallet extension from the [Chrome Web Store](https://chromewebstore.google.com/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge?hl=en).​
* Create a new wallet or import an existing one using your seed phrase, private key, or hardware wallet such as Keystone.
* The next step is to deposit some Ethereum tokens via the Base network and USDC tokens into your OKX Wallet.

### 2. Access the [Smithery.ai](https://smithery.ai/) page

To connect Smithery.ai with Sally AI's MCP, log in to both platforms and go to the integration settings on Smithery.ai. After authorization, Smithery.ai will synchronize with Sally AI's MCP, enabling automated content creation and workflow management between the platforms. This connection enhances AI-driven task orchestration, real-time data sharing, and centralized asset management, boosting team efficiency and collaboration.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FsF0rWxrBr4X5Doj0VQQS%2Fimage.png?alt=media&#x26;token=8d626b33-127e-4e03-ba99-b06d06c9fd43" alt=""><figcaption></figcaption></figure>

* In the search bar, type "sally" and select **sally-ai-mcp**.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2Fm3OddOFN0MvX2vJZ5d5s%2Fimage.png?alt=media&#x26;token=e244ee3b-b886-448d-95ac-b33963bf298a" alt="" width="563"><figcaption></figcaption></figure>
* Then click the Configure button located on the right side.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FFRECLMJYWAm7AA00Z1SV%2Fimage.png?alt=media&#x26;token=8840e59e-4705-4170-8334-f67c9a792125" alt="" width="375"><figcaption></figcaption></figure>

* A sign-in pop-up will appear. You can log in using a GitHub or Google account. Here, select 'Continue with Google.'

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FRG40gIP0rG9AS1qXrObg%2Fimage.png?alt=media&#x26;token=78b244ca-7478-4211-b3fb-2b8a80a9fbd7" alt="" width="375"><figcaption></figcaption></figure>

* After logging in with your Google account, click the **Configure** button again. We will connect our wallet so that we can use MCP Sally.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FFRECLMJYWAm7AA00Z1SV%2Fimage.png?alt=media&#x26;token=8840e59e-4705-4170-8334-f67c9a792125" alt="" width="375"><figcaption></figcaption></figure>
* After clicking, a pop-up input box menu will appear. Here, we need the private key from our wallet.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2F6aMZQ3nSFLsdAgy6Zagw%2Fimage.png?alt=media&#x26;token=29f0faf9-7457-49e5-95f6-37558a017437" alt="" width="375"><figcaption></figcaption></figure>

* To obtain the private key, we must retrieve it from the OKX wallet. Click on the Settings section.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FeBnIuqG5Ezra8P7CWUMA%2Fimage.png?alt=media&#x26;token=2551add8-0ca0-41d8-9832-4ca51b887a70" alt="" width="331"><figcaption></figcaption></figure>

* In the Wallet Security section, select and click Backups.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FWLHgFuprltrT7keYCdGC%2Fimage.png?alt=media&#x26;token=870e77fe-847e-4738-87c6-03c794e500f2" alt="" width="333"><figcaption></figcaption></figure>

* Then select the Private Key menu. Then click on our account.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FH5nH8yjW6cQom3Ii2AOx%2Fimage.png?alt=media&#x26;token=8a80f1fc-a284-40b2-8c9b-947dd5aef6d3" alt="" width="326"><figcaption></figcaption></figure>
* Then search for the Base network.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2F0ccm4MQwEktSD4f9O48a%2Fimage.png?alt=media&#x26;token=cba33858-eceb-46f7-b784-662c3dc22dfa" alt="" width="327"><figcaption></figcaption></figure>

* Then click the Copy button.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2F2Wz45lbh6xGF0ouFhniL%2Fimage.png?alt=media&#x26;token=fe2215dd-577b-4405-b9df-a4b4a9ef1338" alt="" width="338"><figcaption></figcaption></figure>

* Then, paste your private key into the Connect **sally-api-mcp** input box and click Save Configuration.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FjLktQ1t1YlvuoMWmnz63%2Fimage.png?alt=media&#x26;token=2c077d13-3ea2-453d-8062-e221fe6581d5" alt="" width="375"><figcaption></figcaption></figure>
* Then, click on the text 'Get URL with keys' instead.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FycAHtk6W3DNj0JQDpGa2%2Fimage.png?alt=media&#x26;token=5b925c35-ec32-4e37-96c4-a8dd06b35124" alt="" width="375"><figcaption></figcaption></figure>

* And click the Generate URL button.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2F0JZnHo5VmCOG1PYghyMV%2Fimage.png?alt=media&#x26;token=ef0d8ec7-2c3c-4f03-8cd0-4594e2b34685" alt="" width="375"><figcaption></figcaption></figure>

* Then, the message "Connection URL Ready!" will appear. Copy the link by clicking the copy button. Its purpose is to connect Sally MCP with the LLM Agent.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FvyMC4NlNTO5Bi1TFGvo5%2Fimage.png?alt=media&#x26;token=0642427d-c6dd-40ba-88bb-12f93501cc29" alt="" width="375"><figcaption></figcaption></figure>

### 3. How to connect Sally MCP with Manus AI

Now, open the [Manus AI](https://manus.im/app) page. Here, we will try to connect the URL from MCP Sally that we copied from Smithery to Manus AI.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2F1nVIZL9JmeFnsYL0cPal%2Fimage.png?alt=media&#x26;token=ceeec276-8bf6-430a-a084-1f602be292ed" alt=""><figcaption></figcaption></figure>

* Click the "Connect Apps" button and select "Add connections."

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FQpLDQc1Az1q2uQet9pHb%2Fimage.png?alt=media&#x26;token=e7a54c05-cdb8-40fb-84e0-ad34cc3c619b" alt="" width="375"><figcaption></figcaption></figure>
* Then, in the Custom MCP menu, click the Direct Configuration button.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FCgjBgE7Deh2nIWIWnM32%2Fimage.png?alt=media&#x26;token=744bb0e5-5268-45d0-abc7-ab09a6543e46" alt="" width="375"><figcaption></figcaption></figure>
* Next, input the server name, paste the URL copied from Smithery.ai into the Server URL field, and then click Save.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FcRGxDoT0Dz1YSp1PRWSQ%2Fimage.png?alt=media&#x26;token=59f3ab09-7439-4e17-9189-fec41c765b34" alt="" width="375"><figcaption></figcaption></figure>
* Then it will appear as shown in the image below. We have completed connecting MCP Sally to Manus AI.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FebLn0Rvza9opvkmgK2eb%2Fimage.png?alt=media&#x26;token=6efa58ca-45b4-4247-a3c7-ab8837bb70f1" alt="" width="563"><figcaption></figcaption></figure>
* We will now test Manus AI using its MCP, Sally, as the core system.

  <figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FuBcllgkrWoFTLQoYWw4K%2Fimage.png?alt=media&#x26;token=2f2f4172-05d4-4b42-82b7-730b2653c832" alt="" width="563"><figcaption></figcaption></figure>
* Now, in the chatbox, you can prompt anything by starting with the words “Ask Sally.” Then, simply ask your question. An example image below shows: ask Sally, what is HbA1C?

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2Fw8OGuslgnIo5akpNWRLy%2Fimage.png?alt=media&#x26;token=1fb7c953-c348-47b9-a548-1161a4491093" alt="" width="563"><figcaption></figcaption></figure>

* Then, the prompting results will be shown together with the process from MCP Sally.

<figure><img src="https://627341965-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGhhN96KK7N4MiNVg7at1%2Fuploads%2FvHaxh4UFW2Qk0M2rtahS%2Fimage.png?alt=media&#x26;token=51c7d8a0-fc09-4516-9956-4021445d0a4c" alt="" width="563"><figcaption></figcaption></figure>
