Welcome to the Alteryx Knowledge Base

How to Publish to the Server a workflow with an IN-DB tool that uses DCM
user

Created/Edited - 4/20/2026 by Nora Tobon | Alteryx

How To
Publishing to the server a workflow with an IN-DB tool that uses DCM
Environment

 

Procedure

This article shows all the steps required to publish a workflow with an IN-DB tool using DCM the Server.

 

OVERVIEW

On your local machine
  • Create a DSN for your database
  • Create an In-DB connection with a DCM Connection (DataSource+Credential) to the DSN
  • Sync the DCM Connection UP to your Server
  • [23.2+] Optionally, share the DCM Credential with your Server administrator for Collaboration, see: Share DCM Connection  
On the Server
  • Create a System DSN for your database (match the name created on your local machine)
  • Run Designer(*)
  • Sync the DCM Connections DOWN from your Server 
  • Create a System In-DB connection using the DCM Connection created on your local machine
(*) The user logging into the Server must be you or your Administrator if you were able to share the DCM Connection with them in 23.2+

On your local machine
  • Publish the workflow
Visualization and Common Errors sections are at the end of the article
 

▶️Video walk-through of the process 6m (no sound) 

 

1. DESIGNER DESKTOP - LOCAL MACHINE

 

1A. Create In-DB Connection with Connection Type User.

For this example, I’m creating the DCMs from within a Connect-In-DB tool to connect to Snowflake.

Select Data Source-> Snowflake, Connection Type = User, select New for the Connections, enter a Connection Name, and then select Setup Connection.

 

pic1.png

Now when the Connection manager comes up, select  Add Data Source.  
 

pic2.png

Then select Technology -> Snowflake ODBC
Enter a Data Source Name.   Click in the ODBC DSN field to select the User DSN.
 

pic3.png

Note that locally you can select a User DSN or System DSN. 
Click Save.

Next, add a data credential.  Select Connect Credential, and then choose the Authentication Method.

 

pic4.png


Select Create New Credential from the pulldown and type in a Credential name. Then select Create and Link.
 

pic5.png


Now select Connect. This should bring you back to the Manage In-DB Connections page, and you should now see the Driver and Connection filled in:
 

pic6.png

 

The last thing to set up is the output/Write DCM connection; click on the Write tab. If you want a different DCM connection for writing, click Setup Connection and repeat above steps. Or you can select Same As Read Driver.

Click OK. It will display the Visual Query Builder at this point and allow you to select a table and build your query. When done, go to the SQL Editor tab and select Test Query.  When successful, select OK. You can now run the workflow and should see data coming back from your table.
 

pic15.png

 

1B. Synchronize the DCM connections to the Server

Select File > Manage Connections > Synchronize.
Select (or add if first time using) your Server Gallery Connection.
Select Synchronize.

It will show you connections, data sources, credentials that will be synchronized and the direction they are going (in this case syncing up from Designer to Server):
 

pic7.png

 

When finished you will see “All synchronized”.

You will see the DCM Data Source and DCM Credential in the Gallery:
 

pic8.png

pic9.png



1C. [23.2+] Optionally, share the DCM Connection with Server Administrator for Collaboration 

This will allow the Server Administrator to perform the setup steps of the Server.  Otherwise, you will need to login to the Server machine with your Credentials.

In the Server UI, select the newly created DCM Data source

Select the 3 dots to the far right in the Connections box, and choose Share

Then select Add User

image.png

Select Share for Collaboration, check username and password and Add, see: Share DCM Connection  

 

2. ON THE SERVER

Login to the Server as yourself or as the Server Administrator is you choose to share the DCM Connection with the Administrator for Collaboration.

Start Designer using Run as administrator to be able to configure Data Connections of type System.
 

2A. Synchronize the DCM connections in Designer on Server from the Server.

Select File > Manage Connections > Synchronize.
Select (or add if first time using) your Server Gallery Connection.
Select Synchronize to synchronize DCM connections from Server to Designer on the Server.

It will show you connections, data sources, credentials that will be synchronized and the direction they are going (in this case syncing down from Server to Designer on the Server):
 

pic10.png

 


2B. Create In-DB Connection with Connection Type System.

Create the same identical IN-DB connection as you created on the desktop Designer. 
Make sure the Connection Name matches exactly.
Make sure you have System ODBC DSN and the DSN name is exactly the same on the server machine as it is for the user.
 

pic14.png


Check Use DCM option

 
pic11.png
 

Use the newly synchronized DCM connections. 
 
pic12.png

Click Connect. 

This should bring you back to the Manage In-DB Connections page, and you should now see the Driver and Connection filled in:
 
pic13.png

Set up is the output/Write DCM connection. If you want a different DCM connection for writing, click Setup Connection and repeat above steps. Or you can select Same As Read Driver.

 

3. GO BACK TO DESIGNER DESKTOP - LOCAL MACHINE

Now you can select File > Save as and select your Server Gallery to publish your workflow and it should publish without errors.
 

pic16.png

 

4. RUN THE WORKFLOW ON THE GALLERY

User can now run the workflow successfully on the Gallery

pic17.png

 

VISUALIZATION
 

pic18.png


 

COMMON ERRORS

Selected Connection is not available. Set one up to use the tool. 

Cause: If when you are in the Designer on desktop, and you forgot to sync your DCM data source/credentials/connection to the server before saving.
Resolution: Sync your DCM data source/credentials/connection to the server before saving.
 

Error finding connection "your in-db".

Cause: If you try to publish the workflow without creating the in-db connection first on the server.
Resolution: Create the in-db connection first on the server, then publish the workflow.
 

Additional Information
Was this article helpful?