Use Sitefinity Insight access token from Connector for Sitefinity Insight

When developing your Sitefinity CMS based solution, you may need to use the Connector for Sitefinity Insight. However, when using Sitefinity Insight, you need to use authentication to access the secured Sitefinity Insight API endpoints.

In this article, you will learn how to get the authorization token which Sitefinity CMS stores and use it to authenticate calls to Sitefinity Insight API.

PREREQUISITES: You generate an access key in the Sitefinity Insight admin web app, and you use this key to configure the Connector for Sitefinity Insight in your Sitefinity CMS backend. For additional information, see Connect to Sitefinity Insight.

The following code sample shows you how to retrieve the access token based on the current Sitefinity Insight connector configuration. Then, you use the token with the Sitefinity Insight .NET SDK to retrieve the data centers for which the access key is authorized.

The Connector for Sitefinity Insight automatically takes care of token expiration, renewal, and caching. When you use the API described above, you do not need to write custom code to implement this functionality.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?