On a Linear listing card, you can display statistics from an Oikotie publication under the Statistics tab. To make the statistics visible in Linear, however, the integration must first be activated. This requires the real estate agency to generate an Oikotie API key and add it to Linear's Company settings.
Note: To allow Linear to fetch and display publication statistics, the API key must be generated from the same Oikotie account the agency uses to publish its listings.
Generating an Oikotie API key
A company admin can generate the API key in Oikotie:
- Log in to Oikotie and click Oma sivu in the upper-right corner.
- From your personal page, go to the Company details page.
- On the company details page, select the API tab.
- Enter the Contact person’s email for the API key and click Create key.
The generated API key will then appear at the bottom of the screen, below the Create key button.
Note: Keep the generated API key confidential. It should not be sent through an unsecured channel to prevent it from falling into the wrong hands.
Adding the API key to Linear
After generating the API key in Oikotie, you can copy it and add it to Linear:
- In Linear, click your profile picture in the upper-right corner and select Company settings.
- Open the Integrations tab and scroll down to the Oikotie section.
- Paste the API key you copied from Oikotie into the Oikotie API key field and click Save.
Removing an API key
If you no longer want to use an API key to retrieve statistics or data, you should deactivate it. You can disable an Oikotie API key by clicking the “–” button shown in the image below.
In Linear’s company settings, you can then remove the API key by clearing the Oikotie API key field and clicking Save.