Step 2. Verify your input

Now that we have set up the SDK and added our API key, we can restart the sample app:

  1. Run npm start in the terminal or command prompt.
  2. Navigate to Data Master > Live Stream in the left nav bar. After restarting the sample app, the first few events will display in the Live Stream in a few seconds.

2.1 Troubleshoot your input

If you don’t see any events in the Live Stream, try the following:

Clear your browser’s cache

If you have recently made changes to your application or configuration, you should clear your web browser’s cache to verify any changes.

Make sure you inserted your API key correctly

Make sure that you copied and pasted the entire key displayed in the Platform Configuration modal when you set up your web input. To find your key:

  1. Navigate to Setup > Inputs in the left nav bar.
  2. Select Web from the list of platforms.
  3. Your key is listed under Key, it should begin with an indicator of which data pod your mParticle account uses, for example: us2-.

Check your SDK configuration

  1. Make sure that you are initializing and configuring the SDK correctly according to the steps described in step 1.2.
  2. Make sure that isDevelopmentMode is set to true in the mParticleConfig section of the sample app’s index.tsx file.
<< Previous Next >> Set up your output

Was this page helpful?