NOTE: The following applies only for BioTrack enabled New York licensees after the BioTrack migration has been completed.
BioTrack New York mandates that licensees authorize Treez as their designated integrator to connect with their BioTrack license before Treez can begin reporting activities to the State Tracking System (STS). Unlike other BioTrack markets, the authorization process in New York involves OAuth authentication. This method requires an admin user of the license to enter their credentials to confirm integration approval. It is important to note that this approval must be renewed every 100 days. Failure to renew the OAuth approval before it expires will result in Treez losing its reporting capabilities to BioTrack on behalf of your license. Thankfully, the authorization process is straightforward.
Skip to:
Renewing Existing Connection with Same Credentials
Renewing Existing Connection with New Credentials
Prerequisites
You must have an Admin user account for your BioTrack license. If you are not sure what your Admin user credentials are, please reach out to BioTrack and/or the Office of Cannabis Management.
Your Treez user must have the Configuration > Config Page permission in Role Management
You must have you BioTrack license number and UBI.
Note that your BioTrack license number may differ slightly from your official OCM license number.
You must have your BioTrack license configured in Organization Management
Note that your BioTrack license number may differ slightly from your official OCM license number.
First Time Connecting to BioTrack
To authorize Treez as your integrator of choice for the first time and begin integrating with BioTrack, please follow these steps:
Login to Treez by visiting https://app.treez.io
Select the SellTreez location you wish to authorize from the store selector in navigation menu on the left side of the screen.
Navigate to Configuration > Config Page from the navigation menu on the left side of the screen.
Select the "Integration" page.
Click the "BioTrack Access: User Credentials" to expand the view.
Click the blue "Register User Credentials" button.
Now enter each of the required fields:
UBI - This is the BioTrack Universal Business Identifier for your organization
License - This is the BioTrack location license for the specific retail location you are configuring.
NOTE: This may be slightly different than your OCM license number.
Username - This is the email address associated with your BioTrack admin account.
Password - This is the password associated with your BioTrack admin account.
Click the blue "Link BioTrack Account" button below the form your just filled out to submit the Authorization request to BioTrack.
A new screen will open in your browser that is generated by BioTrack. This screen will show you some details about the Authorization request including:
Company - This should say "Treez Inc". If this does not say Treez Inc, do not proceed.
Application - This should say "Treez".
UBI - This should show the unique Universal Business Identifier (UBI) of your organization as issued by BioTrack and entered on the previous screen.
Access Type - This should say "Integrator".
Location - This should list your BioTrack location license as entered on the previous screen.
Note that the license is the BioTrack location license which may differe from your OCM license number.
Resource - This should say "*" indicating that you are authorizing Treez to access all BioTrack resources related to the UBI and License number listed.
Operation - This should say "read_write" indicating that Treez can read your BioTrack data and write data back to BioTrack on behalf of your license.
"Read" BioTrack data allows Treez to retrieve data from BioTrack related to your license such as Inventory Transfers, Users, Sales, Adjustments etc.
"Write" BioTrack data allows Treez to send data back to BioTrack related to your license such as reporting sales, adjustments, inventory Transfers, creating users etc.
Below the above information will be 3 input fields that must be filled out:
Click the green "Grant Access" button below the input fields.
Once this page turns white, click back on the Treez tab in your browser and within a few seconds you should see the page update with a new "Created At" and "Expiration Date" field, indicating that the authorization has been successful. While Treez is waiting on BioTrack to respond with the confirmed authorization, you will see a loading indicator in the top right of the screen.
Created At - This will be the date that the authorization was first created.
Expiration Date - This is the date the BioTrack authorization will expire.
Renewing Existing Connection with Same Credentials
As mentioned at the beginning of this article, your BioTrack connection to Treez must be authorized every 100 days to avoid service disruptions between BioTrack and Treez. If you have not changed your BioTrack credentials (username and/or password), you can renew your your existing connection quickly!
In the Configuration > Config Page > Integration > BioTrack Access: User Credentials section, click the Renew button next to your current Active User Credentials.
A new screen will open in your browser that is generated by BioTrack. This screen will show you some details about the Authorization request including:
Company - This should say "Treez Inc". If this does not say Treez Inc, do not proceed.
Application - This should say "Treez".
UBI - This should show the unique Universal Business Identifier (UBI) of your organization as issued by BioTrack and entered on the previous screen.
Access Type - This should say "Integrator".
Location - This should list your BioTrack location license as entered on the previous screen.
Resource - This should say "*" indicating that you are authorizing Treez to access all BioTrack resources related to the UBI and License number listed.
Operation - This should say "read_write" indicating that Treez can read your BioTrack data and write data back to BioTrack on behalf of your license.
"Read" BioTrack data allows Treez to retrieve data from BioTrack related to your license such as Inventory Transfers, Users, Sales, Adjustments etc.
"Write" BioTrack data allows Treez to send data back to BioTrack related to your license such as reporting sales, adjustments, inventory Transfers, creating users etc.
Below the above information will be 3 input fields that need to be filled out:
Click the green "Grant Access" button below the input fields.
Once this page turns white, click back on the Treez tab in your browser and within a few seconds you should see the page update with a new "Created At" and "Expiration Date" field, indicating that the authorization has been successful.
Created At - This will be the date that the authorization was first created
Expiration Date - This is the date the BioTrack authorization will expire. To avoid any service interruptions with BioTrack functionality, licensees must reauthorize Treez as their integrator of choice on or before this expiration date.
Renewing Existing Connection with New Credentials
If your BioTrack password has changed since you last connected Treez to BioTrack or if you need to renew your connection with a different BioTrack user account, you will need to deactivate the current active user credential and register the updated credentials as if they were new.
NOTE: Performing the following steps during business hours is not advised unless absolutely necessary. Deactivating the existing connection credentials may result in failures to connect to BioTrack. However, if the credentials are already invalid or the connection is expired, the connection to BioTrack may already be interrupted and the following steps should be performed immediately to restore BioTrack connectivity.
Click the Deactivate icon to the right of your credentials.
In the confirmation box, click the red "Deactivate" button if you are sure you wish to deactivate the credentials or click the "Cancel" button if you do not wish to deactivate the credentials.
Now follow the steps in the First Time Connecting to BioTrack section of this article.