3. Initialize Beams
After you have added the required dependencies, it's time to start Pusher Beams in your project.
Go to the Activity or Application class where you want to use Beams and import the SDK:
Add this line to connect the device to your Beams instance:
Finally, add this line to subscribe to an interest so that your server can send notifications to this device.
Now that you have initialized Pusher Beams, why not send a notification?