Ishaan Puniani
Jan 01, 2023
Generate API Key, Goto Settings > API keys

Restricted Key can be generated with "Full Access" to "Mail Send"\

**Copy the generated key **
Now create Dynamic Templates for the 3 basic email types
- Invitation
- E-Mail Verification
- Forgot Password

**For Local, Update the Template ID's in .env file **
**For Server, Add Environment Variables as **
SENDGRID_EMAIL_FROM = "no-reply@baryonventures.com";SENDGRID_KEY ="SG.bc7c5WYzQ6OxLuC0mtk8sA.XXXXXXXXXXXXXXXXXXXXXXyhIkjxVMO9uMJsWOkNgE0";SENDGRID_TEMPLATE_EMAIL_ADDRESS_VERIFICATION ="d-e3e06979b26d44XXXXXXXXXXXea42a";SENDGRID_TEMPLATE_INVITATION = "d-485b1XXXXXXXXXXXXX6ed2c69e6ab1";SENDGRID_TEMPLATE_PASSWORD_RESET = "d-57f6eXXXXXXXXXXXXXXX7cf11c25b";