--- title: "Authorize DocumentLink" slug: "authorize-documentlink" updated: 2024-05-07T18:17:40Z published: 2024-05-07T18:17:40Z canonical: "docs.blackthorn.io/authorize-documentlink" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.blackthorn.io/llms.txt > Use this file to discover all available pages before exploring further. # Authorize DocumentLink In order to view your Order or Invoice via DocumentLink, you must oauth with Blackthorn's Connect App. **Oauth Link** In order for the authorization to work properly, you can only be logged into one Salesforce org. **Production Org** Please click the [oauth link](https://auth.blackthorn.io/salesforce?packages=03361000000DksxAAC) to complete the DocumentLink setup. Once you authorize with the key above, you will be set. **Sandbox Org** 1. Click the [oauth link](https://auth.blackthorn.io/salesforce?packages=03361000000DksxAAC&environment=sandbox) to complete the DocumentLink setup. 2. Click **Allow** to allow access. ![K_03_auth doclink pic 1](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/K_03_auth%20doclink%20pic%201.png) 3. If the authorization is successful, you will see a success message. ![K_03_auth doclink pic 2](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/K_03_auth%20doclink%20pic%202.png) If you receive an error with DocumentLink, click to view [Error Codes And Messages](/v1/docs/documentlink-error-codes-and-messages).