We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

How to Add a Custom Domain to the Salesforce Input Tool v4.2.4

londonhanson
Alteryx
Alteryx
Created

How to Add a Custom Salesforce Domain


Some organizations have security restrictions for non-custom domain access. In these cases, a custom domain name can be added to the Salesforce Input Tool, rather than the default 'https://login.salesforce.com/services/oauth2/token'.
 

Prerequisites

 
  • Alteryx Designer
    • Versions 2019.3+
  • Salesforce
  • Salesforce Input Tool
 

Procedure

 
  1. Navigate to C:\Users\%username%\AppData\Roaming\Alteryx\Tools\SalesforceInput_v4.2.4.
  2. Before making any changes, a backup is a good idea. Make a copy of the 'main.py' file.
  3. Open the 'main.py' file (not the copy) in Notepad or another text editor. 
  4. Locate the line that includes 'tok_url'. This is the Token URL that references the default domain.
image.pngimage.png
  1. Replace the string with your custom domain, followed by "/services/oauth2/token". For example, if your custom domain was https://alteryx.salesforce.com, the tok_url would be 'https://alteryx.salesforce.com/services/oauth2/token'.
  2. Ensure there are single quotes (') surrounding the URL. 
  3. Save the file.
 


Additional Resources