Cannot proper install SendGrid

there is less information about install and configure SendGrip and other staffs.

cannot proper complete video 2 °of 8 - Email Integration (17m).

can someone help me to guide for proper install and configure the environment (i have only localhost and not particular host) .

Everything else functions without problem.

ThankYouAlot

A public host isn’t required to send mail from localhost. Verify a sender address in SendGrid, create an API key with Mail Send access, and put the key in an environment variable rather than your source code. Then use the package and configuration shown for the course’s framework. If it still fails, share the error and setup code with the key removed.