# AI Agent Integration Tutorial

## **Twitter Binding Tutorial**

1. #### Click the **Bind** button. When the Twitter authorization prompt appears, confirm the authorization.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FywGmOgMsbLRxGwKZlzHW%2Fimage.png?alt=media&#x26;token=ddc10280-df4e-4170-b798-2917a0c4f315" alt=""><figcaption></figcaption></figure>

2. #### **Binding Successful**

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FbsTM2njDk4Q2pc1DktwK%2Fimage.png?alt=media&#x26;token=1a307f0d-ff87-494d-84d8-d2e380c8b67f" alt=""><figcaption></figcaption></figure>

***

## **Telegram** **Binding Tutorial**

1. #### Open Telegram and search for **Botfather**. In the chat window, click the menu button in the bottom left corner, and select **/newbot** from the menu.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FiyKIaTmVDWDj9ghSFqv4%2Fimage.png?alt=media&#x26;token=0326a1be-2a05-4d50-a1f9-c28e5665fc7f" alt=""><figcaption></figcaption></figure>

2. #### Enter the **Telegram bot name** and **username**. Once successfully created, you will see a success message.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2Fex4EMg2IMMOSW4oEUu0u%2Fimage.png?alt=media&#x26;token=61d8db4c-4e7f-4bd8-bfdd-d43748100a73" alt=""><figcaption></figcaption></figure>

Copy the **Bot Token** and paste it into the input field on Moonpump, then click **Confirm**.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FvoYILZZg3blT3xwyxE28%2Fimage.png?alt=media&#x26;token=e5fd4c55-e0b8-484c-82d4-253c3b038744" alt=""><figcaption></figcaption></figure>

Make sure to activate the Telegram bot you just created.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FuffMx1MQFWgAET0lorgw%2Fimage.png?alt=media&#x26;token=560399d0-34da-4b2b-83a6-084ff69313fc" alt=""><figcaption></figcaption></figure>

3. #### Once the Telegram bot is successfully bound, find the Telegram group where you want to add the bot. Ensure that you are an administrator of the group. Copy the group’s invite link and paste it into the input field.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FNr5wXTzNUcibaOCTkMjM%2Fimage.png?alt=media&#x26;token=a520c0f0-0b46-488e-8039-14b0ff1866da" alt=""><figcaption></figcaption></figure>

After copying the link successfully, click the **Bind** button, and you will see a success message.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FGdlNRCRbXKrfEVw6HjdZ%2Fimage.png?alt=media&#x26;token=63bc5019-d135-4614-b810-f472ff5dc09e" alt=""><figcaption></figcaption></figure>

4. #### Invite the newly created Telegram bot to the group. Note that any usage of the bot by group members will deduct your credit points.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2FpUfKeHBNyFAs8kEdk4Gg%2Fimage.png?alt=media&#x26;token=3c532d7c-6ded-4935-82fa-d0d2b607db5a" alt=""><figcaption></figcaption></figure>

Set the Telegram bot as an administrator of the group.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2Fi1GI1MlvKZXHjCfya5bw%2Fimage.png?alt=media&#x26;token=377b3b7e-eddc-4735-a844-34825c47c0c1" alt=""><figcaption></figcaption></figure>

5. #### All steps are complete! Interact with the bot in the group by mentioning it (e.g., **@Bot**) and start engaging with it.

<figure><img src="https://304170728-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8m2cDypO5yAYPKfaPp18%2Fuploads%2F1DqcJEohGeLXJhtgsP90%2Fimage.png?alt=media&#x26;token=7e7795dd-11ed-4edf-a62c-8e61bd5239f3" alt=""><figcaption></figcaption></figure>

***

## **Discord** **Binding Tutorial**

1. #### Open [Discord Developer Portal](https://discord.com/developers).
2. #### Create a New Application.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=OGFiNmExNmQwYWY5NDI3NzY3YzgxOTU1ZjFjODRlM2NfUW9TMkdqN3VSRkFRemZuSUgycEJmZ0FxNnRQZUUzeUdfVG9rZW46UWwyM2JuQUN5b0NPTTJ4ZUN6V2x0UG1GZ1JnXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

3.  #### Navigate to the Bot tab on the left:

    &#x20; If you don’t have a token, click Reset Token to generate one.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=ZGIzOWUzMWUyZjZjYjllZmE5NzMwM2JhY2YzMDljNmZfd0xqVnF6MEpZNzVONGgxTzRkb0RTS1BUdGp5TmpaZ1pfVG9rZW46V2FKYmIyZHVrbzFsNTF4SERoamxyVDJTZ3NiXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

Ensure Message Content Intent is turned ON.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=NjViZjA2Mjc2ZGRiMDEyMGQ1MjI1N2FkMDJiM2EwY2JfTTVJZDVORmQzcjA0MDdTeU9kaWQ1ZjZjTm83TUswRlJfVG9rZW46UjBqUWJvcWFjbzFnNDh4Y09ObmxFR21PZ1djXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

Copy the bot token and paste it here to bind.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=ZmU0ZjYzYjUyNGQ0OTc3MWMzNWNkOTJjMzQ3YjJlMWVfWkFrRWQ1czlVRFRZMHc1TGYzNEh6Rk5LOEFpNlVMMExfVG9rZW46UHp5d2JENjlDb3BJN1l4OURaSGwzRDlpZ1NnXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

4. #### Go to the "Installation" tab on the left:

Untick User Install.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=MTRkYWVhMjczNjkzNjdiY2UyMWZiZWI4ZjZmNmZlZTRfVTZNYWdKWVBUNXRmMU8zTG4zb3NranhyVUNpQ0VnZENfVG9rZW46VVozWWJ0aEt2b3BHTW94Um5jRmxqa2xCZ2NnXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

Add bot under Default Install Settings > Guild Install > Scopes.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=NGIwNzg5NTBhYTZlZGZmZDIzYWFjNTYxOTA2OGEzZmRfa1BTNVN0NXdBdUhQNVpSNHZMYXZLRjJpWnpiNDZOc1FfVG9rZW46WnpOc2Iyd29Qb1M2c2d4SUdKRWxIbWgzZ0xmXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

5. #### Copy and open the generated install link in your browser to install the agent in your server.

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=ZTM5ZWIwMTdiNzFkMGIzOTM4MDgxYmUxN2ZmNzIyMmJfQTh3TGNYeGhUcW9LZmhPY05ialNKN1p2UE9aaG1ZVkZfVG9rZW46SXl3NmJmaU4zbzVlVUd4bDhJY2xVMDIwZ3hnXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

6. #### Bind Discord sever invite link

<figure><img src="https://l4dxxsq5eol.sg.larksuite.com/space/api/box/stream/download/asynccode/?code=NDJkM2M1MTllNWI3NjI3ODg5MWNiN2U3YmIxMTgzNzJfRlE0THN3SlZ4cFNMREhxajlyWUx1NEFTZ0h3NExSNFZfVG9rZW46WFVUTGJRbmtEb1lBUTl4V0RhcWxHNE1WZ2xlXzE3Mzk5NjE1NTU6MTczOTk2NTE1NV9WNA" alt=""><figcaption></figcaption></figure>

7. #### All steps are complete! **@Bot** and start engaging with it.
