Question: Could someone advice me on how to integrate FontAwesome 5 **Pro** with React?

I know there are packages @fortawesome/react-fontawesome and for example @fortawesome/fontawesome-free-regular but is there a way how to include **pro version** of icons?

When I log in to FontAwesome website, I can download the pro-version JS but I guess that's of no use in React.

Answer: 
You must use a TOKEN to access Font Awesome Pro via NPM.
========================================================

Manually downloading the icons and installing them locally is an anti-pattern and not the way the Font Awesome team expects you to use Font Awesome Pro with Node and NPM.

Accessing to the Pro packages requires you to configure the @fortawesome scope to use the Font Awesome Pro NPM registry using your **TOKEN** which can be found in your Font Awesome account settings.

1. **Login to see your token**: <https://fontawesome.com/account/services>
2. **Navigate to this step-by-step tutorial** after logging in and it will contain your token in all the examples: <https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers#installing-pro>
3. **Install react-fontawesome** and follow the examples to render icons: <https://github.com/FortAwesome/react-fontawesome>

**Note:** If you're looking to use Font Awesome Pro in **React Native**, check out: [react-native-fontawesome-pro](https://github.com/shyaniv7/react-native-fontawesome-pro)
I think you will be able to use them be adding the JS script and appropriate CSS files to your **index.html**

Let's say if you want to use the default font awesome without having any packages installed then directly include file in **index.html** as shown below

```js
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/solid.js" integrity="sha384-+Ga2s7YBbhOD6nie0DzrZpJes+b2K1xkpKxTFFcx59QmVPaSA8c7pycsNaFwUK6l" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/fontawesome.js" integrity="sha384-7ox8Q2yzO/uWircfojVuCQOZl+ZZBg2D2J5nkpLqzH1HY0C1dHlTKIbpRz/LG23c" crossorigin="anonymous"></script>
```