Skip to content

Connect External Work References and FinOps Tools

Tokematic integrations do two broad jobs: connect recorded work to external systems and export cost data. A reference link opens a ticket, pull request or commit so you can read the work behind a session. A cost export sends data to another tool.

Bring your tools together on YouTube

Transcript

Bring your tickets, code and FinOps tools together. We'll briefly cover exports, then focus on connecting your work in the web app.

FOCUS gives FinOps tools a standard cost and usage format. For other formats, setup and background updates, watch Export your usage to a spreadsheet or FinOps tool.

If you use Finout, use its integration. If you use another FinOps tool, let us know. More integrations are coming soon.

You might ask an agent to fix APP-42. When the session summary includes that ticket or a pull request with a web address, Tokematic makes the reference clickable. The Mac app also detects Git repository information. Opening these ordinary links doesn't need the GitHub App or commit posting.

Tokematic supports fourteen ticket and code systems, from GitHub and GitLab to Azure DevOps, ServiceNow, Asana and Trello. Many links work automatically from repository details and addresses in your sessions. To add a destination, open Integrations, Add integration, then Ticket/code control systems. Choose your system, give the setup a name and enter the details it asks for, such as a destination and reference prefix. Try a reference in the preview, then add the integration. You can add more than one instance of the same system. These are links to your tools; they do not import or create tickets.

Use a custom pattern when your ticket system or address is not covered by a preset. That might be a self-hosted service, an enterprise agreement with a dedicated address, a custom setup or another ticket system. Give it a name, enter its HTTPS address pattern and try a reference in the preview. Once saved, it appears alongside the supported systems. Select it in the same defaults and use it for links in your sessions.

An organization admin can set shared defaults. Projects can use those defaults or choose different systems. You can also add personal ticket systems and use several ticket systems together. If a reference matches more than one destination, you choose which to open. A dotted underline asks you to choose a destination or finish its setup. Select the reference to see the choices or what is missing. A complete ticket address in the session keeps its destination.

Tokematic supports code hosting systems such as GitHub and GitLab. We use GitHub here. The basic approach is the same: connect your code host, review its repositories and check access. An admin opens Settings, Organization, Repositories, then Link GitHub organization. Choose repositories during installation. Repositories are already projects. Connecting the host adds access information and syncs collaborator permissions. Collaborators contribute commits and logs, with log sharing kept separate.

With commit links enabled, a commit made in your session can get a GitHub status showing the session's short identifier and model. Open in Tokematic links back to the work behind the change, with the session's usual access rules. An admin can enable this for the organization, or a member can choose repositories on their Mac. GitLab repository, ticket and commit links work too. Posting a status on the commit that links back to Tokematic is currently a GitHub feature.

Start with FOCUS or another format your tool can read. Use Finout if you are a customer and tell us which other FinOps tools you need. Use presets for ticket links, connect your code host for repository access and use GitHub commit details to return to a session.

Settings > Integrations (#/integrations) brings the setup choices together. Think of its three options as reference links, repository connections and cost exports.

Export Cost Data

A cost export sends usage to your finance or FinOps tool. Start with FOCUS files: FOCUS is an industry standard for cost and usage data that many systems can import. Use this common format or a vendor integration that fits your own tool.

You can also export CSV, JSON or Excel (.xlsx) files from the Mac app, or send data to Google Sheets. In Settings > Integrations > Export, regular updates keep the chosen file or sheet current roughly once an hour while Tokematic runs in the background. No window needs to stay open. This gives a tool a simple data feed even when there is no direct integration. Updates pause while the Mac sleeps. Power Save and the setting to work only when idle can also delay updates. The web Dashboard also offers CSV, JSON and Google Sheets exports.

If you are a Finout customer, use our Finout integration. If you use another vendor, let us know. More integrations are coming soon.

The configured export shows its destination, schedule and recent results. Working can mean a file was sent or there was nothing to send. Read the line below the status. Waiting means no completed result is shown yet. Paused means the export is off. A failed run has its own result and, where applicable, a repair step.

The Connections view shows where the data comes from and which connection carries it. An export's detail page shows recent runs and row counts. Organization admins have the setup and send controls; other members can read the available details. See Export your usage to a spreadsheet or FinOps tool.

Repository Connections

Basic repository links are automatic when Tokematic has the needed Git or URL context. There is no switch to enable them and no GitHub App installation is needed just to open a link. The Mac app can identify the repository from its Git origin. Ticket and pull-request addresses found in a session can also supply the repository context for commit links.

Tokematic supports code hosting systems including GitHub and GitLab. The basic approach is to connect your code host, bring its repositories into Tokematic projects and check who has access. This guide uses GitHub as the example. The sign-in steps and available features depend on the host.

Connecting a GitHub organization or GitLab group links repositories to organization projects and reads collaborator permissions. It is not required merely to turn an already-recorded URL into a link.

Connect the Tokematic GitHub App

  1. Select the intended Tokematic organization.
  2. Open Settings > Organization > Repositories (#/access).
  3. Select Link GitHub organization. This opens the Tokematic GitHub App's installation flow on GitHub.
  4. Complete the choices on GitHub, then return to Tokematic and check the repository connection.

Only an organization admin can start this connection. The guide uses GitHub. The Repositories page also supports Link GitLab group…, with a group path and an access token when required. GitLab repository linking and GitLab commit backlinks are separate capabilities; do not assume that connecting a group enables every GitHub feature.

The GitHub commit-link option adds a status row to a commit. It shows the Session ID and model, with Open in Tokematic linking back to the session. Anyone who can read that GitHub repository can see the row. Opening the session still requires the usual Tokematic access.

This is different from opening a GitHub ticket or commit while reading a session in Tokematic. The status gives someone reviewing the commit a route back to the work that produced it.

An organization's On setting enables commit links for its members. Members choose leaves the choice to each member's repository settings. This does not automatically make the session public or give a reader permission to see it.

Ticket, Pull-Request and Commit References

Suppose you ask an agent to fix APP-42, or the agent closes an issue while doing the work. If the session summary includes that ticket reference, Tokematic can make it a link. If the summary already includes its web address, the link opens that address. If it contains only the ticket ID, Tokematic needs the address pattern for your ticket system.

Start with a preset. In Custom session links, choose Jira and enter your site, or choose Linear and enter your workspace. Select Fill links, review the pattern and save. Presets also cover GitHub, GitLab and Zendesk. GitHub and GitLab cover repository issues, pull requests and commits. Jira and Linear provide ticket links.

Use a custom HTTPS pattern for a less common system or a self-hosted address that the presets do not cover. The fields use {id} for a ticket or pull-request ID, {sha} for a commit and optional {project} for the project name. These settings choose where a link opens. They do not create tickets or send the session to the external service.

Select an organization, then open Custom session links. Organization link defaults lets an admin save a shared starting point. Other members can read those defaults.

Your link choices holds your own overrides across sessions. Each field shows whether it uses your override, an organization default or automatic links. Leave a personal field blank and save to inherit the session's organization default. If that default is also blank, Tokematic uses automatic links where the recorded context supports them. In a combined view, each session uses its own source organization's defaults.

An organization setting does not replace your personal override or change another organization's links. Clearing your override does not delete the shared default. These URL rules are separate from the organization repository connection above.

If the combined view contains the same session from more than one organization, it does not choose one organization's defaults. Open that organization's view to use its defaults. Your own overrides and recorded URLs still work.

Link precedence depends on the reference:

  • A ticket or pull-request web address included in the session summary is used first. A template supplies the address when only a suitable ID is present.
  • A custom commit template takes priority over a commit link inferred from recorded repository URLs. This lets you override that inferred destination.
  • If neither a recorded URL nor a suitable template is available, the reference stays plain text.

A link does not change access to the external tool or to the Tokematic session. Choose the destination that matches where your team keeps its tickets and code.

Next video: Invite teammates and choose their access

4. For Finance & Leadership: Unit Costs, Renewals & Governance

All guides