This guide will show you how to get up-and-running with our in-app feed in your application.
This guide assumes you have already setup your client application with authentication against the Knock API. Please read that guide first if you haven't already.
Within the Knock dashboard you will need to enable the in-app notification feed as a channel. Once
created, make note of the
id for the channel as you'll need to set this (as the
In your client application it's best to set the feed id as an environment variable to be used later.
In the Knock dashboard you will need to ensure that at least one workflow is routing to your in-app feed channel in order to continue with this guide. We typically suggest that the in-app channel is the first channel that your messages should be sent to, so go ahead and add that on one of your workflows.
Once you're done, save your flow and we can start testing. 💪
The next step is to integrate the in-app feed into your product. In this guide we're going to be using our React-based library to do that.
Add the components to your application, ideally wherever you render your header in your layout file.
Once you have your feed up and running you might wish to read about some other topics before pushing it to production: