TL;DR: Once the HackerRank integration has been successfully set up, you can easily start generating CodePair Links in your Interview Templates. The variable will work as long as the API is set-up so an individual instance for each end user is not necessary unless you have one-offs to schedule from time to time.
To add the link to any variable enabled field, type '$HackerRank' and select the appropriate variable.
The "$Interview.HackerRank.Codepair.Link" variable will generate one link for the entire interview. Add this variable to both your Internal and External Calendar Event Description boxes to share the link with your candidate and interviewer(s). After creating a new interview through GoodTime, you can go to the newly created calendar events and see the link. Your candidate and interviewer(s) will receive the same link.
The "$Event.HackerRank.Codepair.Link" variable will generate multiple unique CodePair links for different events within one interview.
Generating Multiple CodePair Links
If you need multiple unique links for an interview, add the "$Event.HackerRank.Codepair.Link" variable to each of the individual event descriptions in your interview template. Only the interviewers with the variable in their event description will receive a link in their calendar event, and each interviewer will receive a unique link.
You will also want to add the "$Event.CoderPad.Link" variable into the candidate’s calendar event description.
The candidate will then receive multiple links with the respective start times in their calendar event: