1. Go ahead and create a directory or a folder outside your splunk directory.

2. Open a terminal on your directory.

3. Run npx @splunk/create command in your terminal.
4. The above command will as you “What would you like to create?” 

5. Select A monorepo with a React Splunk app and a React component option.

6. Then it will ask Component Name, Repository Name and App Name                                                                                              Note: Please use CamelCase and avoid any special characters or spaces in your names.

7. It will create a directory structure will look something like below 
– App directory
– Component directory

8. Run yarn run setup command in your terminal

9. This Command will resolve all the dependencies and build your application.

10. Then go to your app directory.

11. Run yarn run link;app command.

12. This will create a shortcut in your $Splunk_Home/etc/apps directory.

13. Run yarn run start command

14. Then go ahead and Restart your Splunk.

15. You will see your app in your splunk.

If you are still facing an issue, feel free to Ask Doubts in the Comment Section Below and Don’t Forget to Follow us on 👍 Social Networks.

| Happy Splunking 😉