> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/plugins/sharetribe/sharetribe-connection.md). Agents can also search and read this documentation through its [MCP server](https://help.twinr.dev/~gitbook/mcp).

# Sharetribe Connection

Connect your Sharetribe marketplace to Twinr so Twinr attaches each user's device token to their Sharetribe profile automatically.

The Sharetribe connection lets Twinr attach each user's push token to their Sharetribe user profile automatically. Your Zaps and your own backend then read the token from the profile to send push notifications.

### Step 1: Log in to Sharetribe

1. Visit the [Sharetribe](https://www.sharetribe.com/) website and sign in with your account
2. If you do not have an account, create one using your email address
3. Once logged in, you will land in the **Sharetribe Console**

### Step 2: Generate Client ID & Client Secret in Sharetribe

Twinr requires API credentials to connect securely with Sharetribe.

1. In the **Sharetribe Console**, select your marketplace
2. Navigate to:\
   **Advanced → Applications**

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Ft4VuSyNuvPb1rhT0ehox%2FScreenshot%202026-01-02%20at%205.53.53%E2%80%AFPM.png?alt=media&amp;token=ceb7b5e0-caf6-4edb-aab0-6d9483cba633" alt="" width="563"><figcaption></figcaption></figure>

3. Click **Create New Application**

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FFeetvIQ0ddRoSjLgHcdo%2FScreenshot%202026-01-02%20at%205.55.50%E2%80%AFPM.png?alt=media&amp;token=580c1d47-4192-4dce-aac8-de4e8aaf5417" alt="" width="563"><figcaption></figcaption></figure>

3. Sharetribe will generate:

* **Client ID**
* **Client Secret**

4. Copy and save these credentials securely

> 🔐 Do not share these credentials publicly.

### Step 3: Connect Sharetribe Plugin in Twinr

1. Log in to the **Twinr Builder Portal**
2. Go to **Plugins**
3. Locate **Sharetribe** (marked with a **Premium** badge)
4. Click the option

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FelpAqAk6IfuBKtcEL38H%2FScreenshot%202026-01-02%20at%205.47.42%E2%80%AFPM.png?alt=media&amp;token=e5d537be-48aa-441d-9cf1-4a30eba961c9" alt=""><figcaption></figcaption></figure>

5. Enter Client ID and Client Secret
6. Click **Verify Connection**

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FSIFF7zHaip3NVb4Lv6Cl%2FScreenshot%202026-01-16%20at%208.01.25%E2%80%AFPM.png?alt=media&amp;token=ceb63f9e-2397-425e-9605-36512a35a7e2" alt=""><figcaption></figcaption></figure>

After the Sharetribe connection is completed, the following capability becomes available:

#### Device Tokens in Sharetribe

* When a user logs in to your marketplace inside the app, Twinr writes the device's push token and your app ID to that user's Sharetribe profile metadata (`metadata.device_push_token` and `metadata.app_id`).
* The token is updated when it changes, and removed from the profile when the user logs out.
* Your [listing](https://help.twinr.dev/plugins/sharetribe/listing-push-notification.md) and [transaction](https://help.twinr.dev/plugins/sharetribe/transaction-related-push-notifications.md) Zaps read these fields to send push notifications. Your own backend can read them too and send any notification: see [Twinr Push API with Your Sharetribe Backend](https://help.twinr.dev/plugins/sharetribe/push-api-with-sharetribe-backend.md).
* This needs your app built with the latest Twinr version and a paid app subscription.

### Important Setup Notes

Before enabling Sharetribe push notifications, please review the following requirements:

#### 🔔 Firebase Requirement

Firebase must be enabled for your app to deliver push notifications on Android and iOS.

{% hint style="info" %}
👉 Refer to the [**Firebase Setup Help Doc**](https://help.twinr.dev/push/firebase-push-notification.md) for complete configuration steps.
{% endhint %}

***

#### 🔐 Login Requirement

Push notifications are delivered only after the user logs in at least once.

* Login must be enabled
* Login Script must be added in **Twinr Builder → Screens → Login**

{% hint style="info" %}
👉 Refer to the [**Login Setup Help Doc**](https://help.twinr.dev/screens/login/login-page.md) for instructions on enabling Login and adding the Login Script.
{% endhint %}

> 📌 These configurations are mandatory for all Sharetribe push notifications, whether you send them from Zapier or from your own backend.
