In your application directory, you should first install the necessary dependencies for using In-App Messaging. import reactnative0 from '/src/fragments/lib/in-app-messaging/integrate-your-application/react-native/install-dependencies.mdx'; import js0 from '/src/fragments/lib/in-app-messaging/integrate-your-application/js/install-dependencies.mdx'; import reactnative1 from '/src/fragments/lib/in-app-messaging/integrate-your-application/react-native/configure-amplify.mdx'; import js1 from '/src/fragments/lib/in-app-messaging/integrate-your-application/js/configure-amplify.mdx'; ### Integrate In-App Messaging Amplify UI provides a Higher-Order Component for ease of integrating the In-App Messaging UI with your application. Simply wrap your application root component in, for example, `App.js`. import reactnative2 from '/src/fragments/lib/in-app-messaging/integrate-your-application/react-native/hoc-setup.mdx'; import js2 from '/src/fragments/lib/in-app-messaging/integrate-your-application/js/hoc-setup.mdx'; Now your application is set up with Amplify In-App Messaging. To interact with Amplify In-App Messaging APIs, you will first need to import the `Notifications` category. ```js import { Notifications } from 'aws-amplify'; ``` The In-App Messaging feature is a subcategory of Notifications. To make it easier to access throughout your application, you can de-structure it. ```js const { InAppMessaging } = Notifications; ``` Below is an example of what your entry file should look like: import reactnative3 from '/src/fragments/lib/in-app-messaging/integrate-your-application/react-native/full-example.mdx'; import js3 from '/src/fragments/lib/in-app-messaging/integrate-your-application/js/full-example.mdx'; You can now build and run your app in your terminal. If you click on one of the buttons shown in the above example, the in-app message you defined in the Pinpoint console should be displayed in your app.