Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Alteryx Designer Cookbook

You're reading from   Alteryx Designer Cookbook Over 60 recipes to transform your data into insights and take your productivity to a new level

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781804615089
Length 740 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Alberto Guisande Alberto Guisande
Author Profile Icon Alberto Guisande
Alberto Guisande
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Chapter 1: Inputting Data from Files 2. Chapter 2: Working with Databases FREE CHAPTER 3. Chapter 3: Preparing Data 4. Chapter 4: Transforming Data 5. Chapter 5: Data Parsing 6. Chapter 6: Grouping Data 7. Chapter 7: Blending and Merging Datasets 8. Chapter 8: Aggregating Data 9. Chapter 9: Dynamic Operations 10. Chapter 10: Macros and Apps 11. Chapter 11: Downloads, APIs, and Web Services 12. Chapter 12: Developer Tools 13. Chapter 13: Reporting with Alteryx 14. Chapter 14: Outputting Data 15. Index 16. Other Books You May Enjoy

DCM – setting up credentials

As we saw in this chapter introduction, DCM allows you to administer credentials and passwords in a single-source, centralized way, so it solves some pain points, for example, multiple credential inputs, credentials being unsafely shared, loss of connection to data sources upon workflow sharing, among others.

Before getting into the matter, we need to identify three types of objects/concepts within DCM:

  • Credentials: Authentication mechanism for the specific technology
  • Data Sources: All accessible technologies supported by Alteryx
  • Connections: The combination of a data source and the credentials used to validate within

Also, if you have Alteryx Server, you can synchronize and share your connections against it. If you don’t, credentials, data sources, and connections created with DCM will remain local.

Getting ready

To follow this recipe, you must enable DCM on Alteryx Designer. To do so, go to Options → User Settings → Edit User Settings and from the DCM tab click on Enable DCM.

If the Enable DCM option appears disabled to you, click first on Override DCM System Settings, and it will enable it.

Figure 2.29: DCM options in User Settings

Figure 2.29: DCM options in User Settings

Make sure DCM Optional is the selected value for DCM Mode and SDK Access Mode is set to Allow.

Restart Alteryx Designer and you’ll be ready to work with DCM.

How to do it…

We will get started using the following steps:

  1. Go to File → Manage Connections.
Figure 2.30: Manage Connections menu

Figure 2.30: Manage Connections menu

A new window is displayed (yours might be blank):

Figure 2.31: DCM main window

Figure 2.31: DCM main window

  1. Click on + Add Credential at the top right of the window and Alteryx will ask you to enter values for Credential Name and Method.
Figure 2.32: DCM main window

Figure 2.32: DCM main window

  1. Enter a meaningful name for your credential, such as SQL SERVER System Administrator, and select from the dropdown for Method. In this case, we’ll be using Username and password.
Figure 2.33: Credential Method options

Figure 2.33: Credential Method options

  1. Once you make a selection for Method, Alteryx will show you the Username and Password input fields, so fill them in with your credentials.
Figure 2.34: Credential Method options

Figure 2.34: Credential Method options

Click Save and your credential will appear in the Credentials panel.

Figure 2.35: New credential added

Figure 2.35: New credential added

Thus, we have learned how to set up credentials using DCM.

How it works…

DCM saves the credential information provided as a credential object, encrypted as a secure object, and makes it available to be reused when you need it.

This actually improves the way that credentials are managed, since using DCM changes how that information is saved (if DCM is disabled, credentials are embedded within the workflow).

You have been reading a chapter from
Alteryx Designer Cookbook
Published in: Oct 2023
Publisher: Packt
ISBN-13: 9781804615089
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime