For employees to push sales to METRC via API, that user must assign an API key from their Metrc account to their Flowhub account. Once the key has been added to a Flowhub profile, the user should be able to communicate METRC through Flowhub.
How to Get an API Key
API keys must first be generated within your Metrc account. Use the following steps to create the Metrc API key:
Log in to your Metrc account by going to https://www.metrc.com/.
Choose "Login" in the upper right corner, select your state and log in.
Once signed in, select the down arrow next to your license name in the upper right corner of the page.
Click "API Keys" from the drop-down.
Select the "Generate API Key" button. Once the key is generated, copy it with your cursor.
Note: Always generate a new API key when assigning the key to a Flowhub profile. Any changes to your Metrc account will render a previously entered/generated API key outdated. For any Metrc related errors or questions, please visit https://www.metrc.com/support.
How to Assign an API Key to Flowhub
Now that you have generated your new API key, log in to your Flowhub account and click the "Employees" option on the left side of the navigation bar.
Within the "Employees" tab, find and select your name.
Once selected, the "Details" pane to the right will show your permissions and account options.
Click "Change API Key."
The window will allow you to paste your new API key into the first text field. You will need to enter your Flowhub password and select "Update API Key" to confirm.
Please Note: If you encounter an error assigning your Metrc API Key to your account, you may want to check with a supervisor to verify your permissions in Metrc. If you are still having an issue, please reach out to Flowhub's Product Support team.