- ON ADC go into Citrix Gateway > Policies > Authentication > SAML
- Click on Servers tab at the top and then Add

- Enter a Name but untick Import Metadata
- Open up the IDP Metadata file you saved earlier
- Locate SingleSignOn and SingleLogoutService Location

- Add the Login URL to Redirect URL and the logout URL to the Single Logout URL

- Set SAML Binding and Logout Binding to Redirect

- For IDP Certificate Name, click the drop-down arrow and choose your recently added IDP file.

- In the Issuer Name field, enter the FQDN of your NetScaler Gateway Virtual Server. (The SAML Issuer Name must be identical to the EntityID in the metadata of the service provider that was set up in the previous section)

- Click on More
- Add the attribute names which were created in the DualShield Service Provider.

- Click OK