> For the complete documentation index, see [llms.txt](https://bikashdev.gitbook.io/ionic-5-news-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bikashdev.gitbook.io/ionic-5-news-app/installation-of-plugins.md).

# INSTALLATION OF PLUGINS

## &#x20;**Installation Plugin**

* JWT Authentication for WP REST API Plugin: – <https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/>
* WP REST User Plugin: – <https://wordpress.org/plugins/wp-rest-user/>

**JWT Authentication for WP REST API Plugin: –**

Edit your **.htaccess** file by adding the following:

```
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
```

&#x20;To add the **secret key**, edit your **wp-config.php** file and add a new constant called **JWT\_AUTH\_SECRET\_KEY**.

```
define('JWT_AUTH_SECRET_KEY', 'your-top-secret-key'); // any top secret key
```
