Setting up subscriptions

Note: your app must be on the Pro or better plan to enable subscriptions

Subscriptions are handled by Stripe, so you must have a stripe account & have saved your api keys in your Boundless app in Settings -> Integrations.

If you haven’t already configured a Product with a Pricing Plan in Stripe, do that first.
In your Stripe Dashboard, go to Billing -> Products and click the + New button in the top right. A new Product only requires a name.
After creating a new Product, you will be on the details page for that Product. Click + Add pricing plan (midway down on the right). Leave the defaults in place, and fill in the Nickname, the Price per unit and the Billing Interval. Optionally add a Trial Period. These are the options Boundless supports at this time.

Make sure you copy your stripe Publishable Key & Secret Key into your Boundless app on the Settings -> Integrations page.


  • Click on Pages and select your signup page from the Page Dropdown.
  • Click on the Sign Up button in the form.
  • In the sidebar, you will see the Actions & Data tab is already chosen for you by default.
  • Click + Add Action or Workflow and select Start Subscription from the list.
    • If you did not click the Enable Subscriptions button on the Settings -> Integrations page for your app, then the first time you add the “Start Subscription” action, you will see a modal explaining that Boundless will add a Subscriptions table for you to keep track of users’ subscriptions.
  • Configure the “Start Subscription” action by pasting in the Plan ID from Stripe (it should look like “plan_Ffn4bEE2Szk58a”).
  • Customize the Description field by telling your customers how much & how frequently they will be charged (eg, “Subscribe for $19/month”)
  • Add some text to your form explaining that you must subscribe to sign up.
  • Save your page.
  • On every page that requires a subscription, edit Page Settings Access Restrictions to Require a Logged In User and additionally that the Current Users.Subscription.Status Equals "active".

Note: if you have enabled a Trial Period for your Pricing Plan in Stripe, the Status of those subscriptions will initially be “trialing”. To deal with this scenario I recommend adding a Formula field to the Subscriptions table, call it “Is Active” and make the formula string something like OR(Current Subscriptions.Status = "active", Current Subscriptions.Status = "trialing") and adjust your Page Settings Access Restrictions appropriately.


This is continued from the above post about setting up subscriptions with a single price for your app, so please refer to the post above for context.

Step 1: Add a new pricing plan to your product in Stripe
  • In your Stripe dashboard, go to Billing -> Products and click on the product for your app.
  • Click + Add pricing plan and configure the price (for example, I set mine to be ten times the monthly rate, giving users 2 free months for paying for the year up-front).
  • Be sure to adjust the Billing Interval appropriately

Step 2: Add a Pricing Plans table to your app

  • Add 2 Fields
    • A Single-line plain text field called “Pricing Plan ID”
    • A Single-line plain text field called “Description”
  • Add new records for every pricing plan for your site (for example, one for monthly and one for yearly)
    • The “Description” should be something like “$19/month” or “$190/year”

Step 3: Add a new Associated Record field to Users

  • Call it “Chosen Pricing Plan” and make it Associate Records from Pricing Plans. Be sure not to check the checkbox “Link to multiple records”
  • Click on the Pricing Plans table and click the gear icon next to the Users field that was generated when we created the “Chosen Pricing Plan” field and choose “Edit Field”; check the “Link to multiple records” checkbox and save

Step 4: Add a select field to your signup form so users can choose a pricing plan

  • Click on Pages and select the “Sign Up • /signup” page from the Pages dropdown
  • Drag a Select field from the Page Elements section in the top of the sidebar into your signup form
  • Choose the “Chosen Pricing Plan” field you created in Step 3 for the “Associated Data Field”
  • Check the “Required” box
  • For the “Display And Search By” field, pick “Description”

Step 5: Use the User’s Chosen Pricing Plan in the “Start Subscription” action

  • Click on the “Sign Up” button to edit the “Start Subscription” action
  • Change the Price Plan ID field from plan text to a Boundle using the select to the right of the field and set it to “Current Users.Chosen Pricing Plan.Pricing Plan ID”
  • Change the Description by setting it to “Subscribe for = Current Users.Chosen Pricing Plan.Description”

Now save your page & publish your site and you’re all done! :tada:

1 Like

Again, continued from above

Adding a new Tier, for example “Premium”

Step 1: Add a new Product with Pricing Plan(s) in Stripe
  • In your Stripe dashboard, go to Billing -> Products and click + New (in the top right)
  • Choose “Recurring Products” and give it a name (eg, “Premium”)
  • Click Add Pricing Plan to save this product and start creating a Pricing Plan for it
  • Give the Plan a name (for internal use), a Price per Unit and a Billing Interval (optionally add 2 pricing plans, one for monthly & one for yearly)

Step 2: Add records to the Pricing Plans table & update the old ones

  • Add new records for every pricing plan for your site (for example, one for monthly and one for yearly)
    • The “Description” should be something like “Premium: $49/month” or “Premium: $490/year”
  • Update the existing rows’ “Description” attribute to include the product tier
    • Eg: “Basic: $19/month” or “Basic: $190/year”

Step 3: Add marketing copy to the Signup Page

  • Tastes will vary here, but I added content with a Header 1 with “Membership Options” and then two side-by-side content nodes with Header 2 with “Basic” and “Premium” and then some bullet points below about perks of each one. I also made all the text in the “Premium” side a bit bolder.

Don’t forget to save your page & publish your site :sunglasses:

OK here’s my last post for the time being about subscriptions!

Multiple tiers: Iteration

Having a dropdown with Basic & Premium x Monthly & Yearly felt clunky to me. I saw a site today that had a Pricing page which linked to different signup pages, one for each service tier. I thought that was a good way to do it so I wanted to refactor the Western Adventures signup page to be similar.

Step 1: Rename the Signup page to “Signup: Basic” (or similar), and change the path to /signup-basic

  • Adjust copy & design as appropriate

Step 2: Make a new Standard page “Signup: Premium” and make the path /signup-premium

  • Drop the signup form you copied into the premium page
  • Adjust copy & design as appropriate

Step 3: Add a data field to Pricing Plans to filter by, I called it “Product”

  • Update your Pricing Plans records appropriately (that is, set Product = “Basic” for basic plans and Product = “Premium” for premium plans)

Step 4: Go to the Basic & Premium Sign Up Pages and filter the Chosen Pricing Plan appropriately (eg, only show “Basic” plans on the Basic page, show “Premium” plans on the Premium page)

Step 5: Add a “Pricing” page and update links appropriately

  • On the pricing page itself, add marketing copy and links to the basic & premium signup pages
  • Change the “Sign Up” link in the page header to “Pricing”
  • Change other links that used to point to “Sign Up” to “Pricing”

And as always, save your pages frequently and Publish to make your new signup flow live!

@Steve @Nolan - wondering if it would be possible to create a subscription program using “tokens”, but paid through Stripe?

For example - you pay $20 a month for a subscription (or simply a one time payment of $20), which gives you lets say 20 tokens. You can then use a token to access a piece of gated content, and the app knows how many you have left.

I envision the user table having a field for “tokens remaining” for each user, and then the user’s profile can reference that field to let them know how much they have.

Think there’s a creative way to accomplish this? Maybe a $20 entrance fee then “dummy” payments after (no idea if that’s possible but spitballing)?

Love the idea, you could be on to something really cool.

It sounds like you’re thinking up ways to implement a virtual currency. I believe you could get most of the way there but might run into a few roadblocks, which we’re working on clearing. I think implementing “tokens” that your users can purchase & spend on-site is somewhat unrelated to subscriptions, unless you wanted to let people subscribe to get discounted tokens on a regular basis (which would be a cool way to incentivize subscriptions! :wink:)

So basically I would advise you to hold off on trying to implement “tokens” for now. We’ve identified some missing pieces and are figuring out where they fit into our roadmap. I’ll make a note to ping you when those pieces are shipped.

1 Like

Starting Subscriptions after sign up

The examples above add the subscription action to a signup form, however it’s also possible (and probably desirable in some cases) to add the subscription action to a form after someone has signed up.

For example, if you have a simple sign up form that just requires email & password, then have that form’s button go to a /complete-signup page where the user maybe fills out profile information, you can add a Start Subscription action to that form but only if you have “Require Logged In User” checked for that page.

In summary: to start a subscription, you need a signed in user. Either one who has just signed up (with a sign up form), or one who is already signed in (which is guaranteed by checking the box “Require Logged In User” in the Page Settings).