Is it possible to integrate Jira self hosted with API token?

Is it possible to integrate Jira self hosted with API token?

Hi Dipen Soni,

It can only be done with password & username