# INSTALLATION OF PLUGINS

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

* JWT Authentication for WP REST API Plugin: – [https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
* WP REST User Plugin: – [https://wordpress.org/plugins/wp-rest-user/](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
```
