How the connector works
The connector reads published Solution articles from the scope you choose, and adds them to the knowledge base. It keeps Freshservice folder visibility on each article.What happens at each stage
What happens at each stage
- The connector authenticates with the API key profile and connects to the Freshservice URL you enter.
- It loads your workspaces, categories, and folders, so you can choose the scope.
- It reads the published Solution articles in that scope, and indexes them.
- If you keep Enforce Freshservice folder visibility on, it applies folder visibility to search results and fails closed.
Before you begin
Make sure that you have the following:- A Freshservice account URL, for example
https://example.freshservice.com. - A Freshservice agent account that can view the Solution articles to index.
- A knowledge base in your project, and permission to add sources to it.
Step 1: Get a Freshservice API key
The connector signs requests with the API key of the agent account it uses. Freshservice applies that agent’s permissions to each request.- Sign in to Freshservice with the agent account the connector uses. Use a dedicated account where possible.
- Select your profile picture, and then select Profile Settings.
- Copy the key under Your API Key.
Required access
Required access
The connector only reads from Freshservice.
Step 2: Create the auth profile
The auth profile stores the API key from Step 1. Freshservice receives the key as the Basic Auth username and ignores the password.1
Open the Freshservice connector
- Go to Knowledge Bases, and then open your knowledge base.
- On Overview, under Connect a data source, select All Sources.
- Under IT & Support, select Connect on Freshservice.
- Select New Freshservice API key profile. The new auth profile panel opens.
2
Enter the profile details
3
Save the profile
Select Create Profile. The connector returns to the Connect Freshservice step.
Step 3: Configure the connector
Tell the connector which account to read and which part of your Solution library to index.1
Connect
2
Choose Solution scope
After you connect, the connector loads your workspaces, categories, and folders. Leave a level unselected to include everything at that level.
3
Permissions
Optional. Keep Enforce Freshservice folder visibility on to apply folder visibility to search results. See Permissions.
Step 4: Validate and activate
Test the configuration on a small sample before the first full sync. The dry run validates the API connection before activation.1
Generate a proposal
Select Generate proposal preview. The server validates the configuration and compiles the connector package.
2
Run a dry run
Select Run dry run. The connector validates the API key and reads a sample of articles without indexing them.
3
Approve and start
Select Approve & start. The first sync starts and indexes all matching articles.
Sync behavior
After the first sync, the connector processes new and updated articles in the selected scope. You can also start a sync at any time from the source.- A manual sync runs immediately, whatever the schedule.
- Changes to the scope or the auth profile apply on the next sync.
Permissions
By default, the connector keeps Enforce Freshservice folder visibility on. It keeps each folder’s visibility restrictions on its articles. When the connector can’t resolve permission membership, it hides the article.Limits and considerations
Keep these limits in mind when you plan the scope of the connector.- The connector indexes published Solution articles only. It doesn’t index tickets, drafts, or assets.
- The API key carries the permissions of its agent. The connector can’t read articles that the agent can’t view.