> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snagsolutions.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect X

> X (Twitter) connection loyalty rule. Reward users for linking their X account to your Web3 loyalty program.

<head>
  <script type="application/ld+json">
    {JSON.stringify({
            "@context": "https://schema.org",
            "@type": "TechArticle",
            "headline": "Connect X",
            "description": "X (Twitter) connection loyalty rule. Reward users for linking their X account to your Web3 loyalty program.",
            "author": {"@type": "Organization", "name": "Snag Solutions", "url": "https://www.snagsolutions.io/"},
            "publisher": {"@type": "Organization", "name": "Snag Solutions", "url": "https://www.snagsolutions.io/", "logo": {"@type": "ImageObject", "url": "https://assets.snagsolutions.io/public/docs/snag-logo-dark-no-bg.svg"}},
            "mainEntityOfPage": "https://docs.snagsolutions.io/loyalty/rules/connect-twitter"
          })}
  </script>
</head>

## **Overview**

This loyalty rule allows admins to reward users for connecting their Twitter accounts to the platform. This rule encourages users to link their accounts, enabling better community engagement and cross-platform interaction.

<Frame>
  ![Snag admin connect X (Twitter) rule configuration form](https://assets.snagsolutions.io/public/docs/rules/connect-twitter.png)
</Frame>

## **Rule Configuration Fields**

### **Reward**

* **Type of Reward**: Choose between "Points" or "Multiplier".

* **Points**: Users will get the defined no of points.

* **Multiplier**: Users will get the multiplier of the defined amount.

### **Basic Settings**

* **Update Cadence**: The Connect Twitter rule rewards users **immediately** upon successful connection of their Twitter account.
* **User Reward Frequency**: This is a one-time reward that users can claim after linking their accounts, helping to build a connected community across platforms.

### **Custom Settings**

* Skip the multiplier for this rule

## How it works

1. A user visits your loyalty program and sees the "Connect X" rule
2. They click to connect, which triggers an OAuth flow to authorize their X account
3. Once authorized, Snag verifies the connection and immediately rewards the configured points
4. The user's X account is now linked to their loyalty profile, enabling other X-based rules (posts, follows, reactions)

## Prerequisites

* Your platform must have X (Twitter) authentication enabled. Contact Snag to configure OAuth credentials for your organization.
* Users must have an active X account to connect.

<Info>
  Connecting an X account is often a prerequisite for other X-based loyalty rules like [Follow an X Account](/loyalty/rules/follow-x-account), [Post on X](/loyalty/rules/x-new-tweet), and [X Post Reaction](/loyalty/rules/x-post-reaction). Consider setting up this rule first.
</Info>

## Troubleshooting

* **"Authorization failed"** -- The user may have denied the OAuth permission. They should try again and accept all permissions.
* **Account already connected** -- Each X account can only be linked to one loyalty profile. If the account is already linked to another profile, the user will see an error.

## Related pages

<CardGroup cols={2}>
  <Card title="Rules Configuration" icon="gear" href="/loyalty/rules-configuration">
    See full configuration options for all loyalty rules.
  </Card>

  <Card title="Multipliers" icon="arrow-up-right-dots" href="/loyalty/multipliers">
    Boost rewards with multipliers.
  </Card>
</CardGroup>
