Add a new project to Weglot dashboard. https://dashboard.weglot.com/
Create a new project in Weglot dashboard. Click on the project name you just created and then go to Settings tab on the left to find 'Setup' to get the "API Key".
Copy the API Key along with the JavaScript file and any other script include in thhe package.