In every ticket details page, on the right-hand side there would be FreshSales integration available where you can create a lead or a contact in Freshsales. Refer to the image below:
However, you need to integrate the Freshsales app in Freshdesk. To know more about the integration check out the link.