Welcome to the Alteryx Knowledge Base

How To: Create an In-Database Connection
user

Created/Edited - 1/27/2026 by Sonali Modi | Alteryx

How To
Create an In-Database (In-DB) Connection.
Prerequisites
  • Alteryx Designer
  • Windows Operating System
Procedure

Apart from making standard database connections, which allow for data to be pulled from the database directly into Alteryx, Designer also has In-Database functionality. The In-Database tools allow for the workflow created to be converted into a query which will then be executed on the database, and not locally in Designer.
 

  1. In Designer, drag and drop the Connect In-DB tool (located in the In-Database tool palette) onto the canvas
  2. Select the “Manage Connections…” option to establish a new In-DB connection

 

In DB KBA 1.png

 

  1. The Manage In-DB Connections window should appear. To configure this window:

 

In DB KBA 2.png
 
  1. Select the Data Source/Database type from the Data Source drop-down.
  2. Under Connection Type, select User, System or File connection.
  3. For file connections, see this article: Guide to setting up In-DB Connection Files on a Network Drive 
  4. On the server, make sure to select a System Connection. If you do not see the System option available, see this article: Unable to create System Connection/System Connection type missing. For more information about In-DB workflows on server, see this article: How to run In-DB workflows on server without using a connection file
  5. Under Connections, select New.
  6. Under Connection Name, enter a name for this connection.
  7. Under Driver, select the method of connection to use.
  8. Click the Connection String drop-down. You can choose to use an existing connection or create a new connection by clicking the New database Connection…option. You can also paste in the full connection string if you have it available.
  9. Repeat steps 5 and 6 for the Write tab.
  10. Click OK. If the connection was successful, the Choose Table or Specify Query window should appear.

  
 

  1. The connection will now be stored in the Connection Name drop-down.

 

In DB KBA 3.png




 

Additional Information
Was this article helpful?