Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need Help to add Basic Authentication to Action of Flow Designer.

Sunny45
Kilo Guru

Hello Experts,

I am creating a Data source through Integration hub (snap below)

I need some help on adding Basic Authentication (Username/Pwd) on REST step for Request action. (second snap)

When I create a new record for Basic Authentication, the same is not available in the drop down list. 

May be I am missing something here. 

Please advise me with all steps, how do I add Basic authentication to the REST API step of Flow Designer?

Thanks. 

find_real_file.png

 

 

find_real_file.png

 

 

find_real_file.png

 

 

1 ACCEPTED SOLUTION

You may look into below link which describes in details. Basically you will have to create credential alias sn_cicd_spoke.cicd as shown below and use that in your action of Flow designer.

 

https://community.servicenow.com/community?id=community_article&sys_id=ca12423edb1068106621d9d9689619d6

 

find_real_file.png

 

 

 

 

View solution in original post

5 REPLIES 5

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Sunny,

Try checking "Use MID".

Hello Hitoshi,

When I check MID it shows me option to for MID server, but I have an integration user on that instance with username and pwd which I have to supply in order to get the response back.

I get the results in POSTMAN using that username /pwd.

How do I mimic same thing in the Flow designer ?

Please advise.

Thanks.

 

find_real_file.png

 

 

 

find_real_file.png

You may look into below link which describes in details. Basically you will have to create credential alias sn_cicd_spoke.cicd as shown below and use that in your action of Flow designer.

 

https://community.servicenow.com/community?id=community_article&sys_id=ca12423edb1068106621d9d9689619d6

 

find_real_file.png

 

 

 

 

Thanks that was helpful.