Before we get started, you’re going to want to ensure you have successfully installed all required libraries and have initialized them correctly to make successful calls.
You’ll also need to ensure that you have setup all your features and packages within the Kana Dashboard. You can see more on these concepts within the Kana Concepts page, and more on how to create features and packages through the following guides.
Creating & Subscribing Users
You can then start thinking about bringing the users of your product into Kana so that they can subscribe to your packages.
If you integrate with Stripe, we will not only initially import all your users from existing subscriptions, but will also create new users (and subscriptions) when customers sign up to packages through Stripe.
You may use your own custom setup to achieve this, but we also provide a handy way to generate a URL so that a user can navigate through to Stripe’s checkout and pay there to subscribe - see more in the paymentlink query.
Afterwards, you’ll be ready to integrate Kana into your product to deal with everything related to monetization, pricing and subscriptions.
The following guides will allow you to start integrating some of these vital flows into your product:
Record Feature Usage
Block Feature Access (Backend)
Block Feature Access (Frontend)
Once you hit the end of this list, you’re likely ready to go!
There may be other flows in your product touching packaging and pricing which Kana needs to integrate with and/or help you achieve. Our API is flexible enough with the given Queries and Mutations available that you should have everything you need to build these out.
We’d love to hear more on what you do end up building out, or if you don’t feel you have the resources at your disposal to build these out yet. Let us know!