In the following guide we will show you how to put together a basic Power-Up using our Github Template, and then integrate it with Salable.
For this example we have put together a basic Trello Power-Up called “Delete Card”.
This example is totally configurable so you can build whatever power-up you are thinking of and monetise it however you want.
To get the most out of this guide you'll need some familiarity with the basics of Trello Power-Up development and integration. If you’re not there yet, we suggest starting here.
Create a free Salable account if you don't already have one.
From the settings section of the Salable dashboard create a new API Key.
From the settings section of the Salable dashboard create a new payment integration.
Replace the API key on line 20 of js/client.js with your Salable API key.
Add your Salable API key and product UUID to the pricing.html config.
Add your Trello API key to the script in index.html.
Get to it my friend!
Back in the Salable backend, create a new product. You can call this whatever you want.
Add a "Delete" capability to the product you just created.
Create a plan and add the new capability "Delete" to it.
Create more plans if you intend to offer paid and free versions of your Trello Power-Up.
Now go integrate your new Trello Power-Up and watch the money roll in!