# Freshdesk (Quick Setup)

## What You'll Need

* Your Tozny account - [create one free here](https://dashboard.tozny.com/register)
* Admin access to your Freshdesk account
* About 15 minutes to complete the setup

## Configure TozID

Create a new client application in TozID by logging into your realm, navigating to clients, and selecting "create".

![Create Freshdesk Client Screen](/files/dEqRU4iB3iCXzG0LCG7j)

Enter the following values and select save.

| Field        | Value                                                                    |
| ------------ | ------------------------------------------------------------------------ |
| Client ID    | Any unique string to identify this client. Example: fresh-desk           |
| Base URL     | Freshdesk Login URL. Example: <https://myaccount.myfreshworks.com/login> |
| Redirect URL | Copy from Freshdesk configuration                                        |

![Freshdesk Redirect URL Screen](/files/BzrooDbBnZk8nBBDTmdb)

## Configure Freshdesk

Login to your Freshdesk admin account. Select "security from the left menu. Click on “Default Login Method”.

Enable “SSO Login” and edit “SSO with OIDC” if it is already present under “Configured SSOs”.

![Freshdesk Enable SSO Screen](/files/3EPdEqsyVcHK6VmAqcGu)

If there is no “SSO with OIDC” under “Configured SSOs” then add a new one.

![Freshdesk Add SSO](/files/CuRUtnWMbfNlvlgpRmZJ)

Click “+ Add another SSO” and choose “IdP of your choice” – “OIDC”.

![IdP of your Choice Screen](/files/OosLcgkvaiJ5xa21e2M8)

Configure the following values(Create Freshdesk client in TozID and edit it to get the below values):

| Field             | Value                                               |
| ----------------- | --------------------------------------------------- |
| Client Id         | Client Id from TozID Client Settings Tab            |
| Client secret     | Secret from TozID Client Credentials Tab            |
| Authorization URL | Authorization URL from TozID Client Credentials Tab |
| Access token URL  | Access token URL from TozID Client Credentials Tab. |

![Example Freshdesk Configuration](/files/BFt5NbX1hz6Tik7WzhJy)

![TozID Client ID](/files/ZWLdjTsETqicV3MHDbLn)

![TozID Credentials](/files/bXVUYcq3TB2J5hp7YnUA)

## Freshdesk's Login Button

Click Advanced Options and Add Button Label as "Login with TozID".

![Freshdesk SSO Login Button](/files/V2hwnaKZ9GeVaIos4Qwk)

## Wrapping Up

Select save and ensure your users are correctly configured in TozID. The same users should also be inside Freshdesk. Once completed, you should be able to sign into Freshdesk agent portal with TozID. Having issues? Reach us at <support@tozny.com>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.tozny.com/toz-id/enterprise-sso/freshdesk-quick-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
