> 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.md).

# Sharetribe

Connect your Sharetribe marketplace to your Twinr app and send push notifications to your marketplace users.

Twinr attaches each user's device token to their Sharetribe profile when they log in inside the app. You then send notifications with the Twinr Push API: from Zapier for listing and transaction events, or from your own backend for anything else.

***

### Prerequisites

* A paid app subscription that includes the Sharetribe plugin
* Admin access to your **Sharetribe Console** and the **Twinr Builder Portal**
* Firebase set up for push notifications
* Login enabled in your app, with a Login Script
* A **Zapier** account, if you want to send listing or transaction notifications without code

***

### Setup

1. **Connect Sharetribe.** Create an application in the Sharetribe Console and enter its Client ID and Client Secret in Twinr. See [Sharetribe Connection](https://help.twinr.dev/plugins/sharetribe/sharetribe-connection.md).
2. **Build your app** with the latest Twinr version, so it attaches device tokens to user profiles.
3. **Send notifications:**
   * From your own backend, for any notification: [Twinr Push API with Your Sharetribe Backend](https://help.twinr.dev/plugins/sharetribe/push-api-with-sharetribe-backend.md)
   * From Zapier, for listing events: [Listing Push Notification](https://help.twinr.dev/plugins/sharetribe/listing-push-notification.md)
   * From Zapier, for transaction events: [Transaction-Related Push Notifications](https://help.twinr.dev/plugins/sharetribe/transaction-related-push-notifications.md)

See the [Overview](https://help.twinr.dev/plugins/sharetribe/overview.md) for how the pieces fit together.

***

### Troubleshooting

#### Invalid Client Credentials

* Check that the Client ID and Client Secret are copied correctly.
* Check that they belong to the right Sharetribe marketplace.

#### The Connection Was Removed

If your app's subscription changes to a plan that doesn't include Sharetribe, the connection is removed. Reconnect after upgrading.

#### A User Has No Device Token in Their Profile

* The user must log in to your marketplace inside the app at least once. Logging in on the website in a browser doesn't attach a token.
* The app must be built with the latest Twinr version.
* When a user logs out in the app, Twinr removes their token. It comes back at their next login.

#### Zapier Not Triggering

* Check that the Sharetribe trigger event is turned on.
* Test the Zap manually in Zapier.

***

### Security

* Keep your Sharetribe Client Secret and your Twinr account secret on your server or in Zapier. Never put them in a web page or in the app.
* Rotate credentials periodically, and disconnect the integration if you no longer need it.
