Addin Environment variable in netlify

To add environment variables in Netlify, you can use environment variables. Netlify allows you to set environment variables for your site, which can be used to store sensitive information such as API keys. Here’s how to set it up:

Step:1
Go to site settings

step:2

Select the Environment variable section

step:3

Click on button Add a variable

step:4

Fill the key and value and click on button create variable

Now you have set the variable

Now you have to trigger the Deployment to make changes in use

step:5

Now go to the Deploys section

step:6

Scroll down and click on the button Trigger deploy

Here you’ll see two options click any of them and your website will re-deploy

That’s all you have to do.

I hope you find it helpful.

Happy coding!

want to give suggestions:-

find me on LinkedIn Twitter

Email me at nidhisharma639593@gmail.com