# Installation

This guide goes through the various methods used to install EmailJS SDK.

# Module bundling

If you are stitching together a group of modules (and their dependencies) into a single file, then you can use one of package managers to install EmailsJS SDK like a module.

Install EmailJS SDK using npm:

$ npm install emailjs-com --save

Or using bower:

$ bower install emailjs-com --save

# Browser script

To start using EmailJS on your website just paste the following code snippet before closing tag, with the correct user ID:





 
 
 


<script type="text/javascript"
        src="https://cdn.jsdelivr.net/npm/emailjs-com@2.4.1/dist/email.min.js">
</script>
<script type="text/javascript">
   (function(){
      emailjs.init("YOUR_USER_ID");
   })();
</script>

You can obtain your user ID from the Account - API keys page in the EmailJS dashboard.