Connect
-
In Wordsmith, create an API key for the user whose view Tableau should load. A key limited to some scopes needs
reports:read,usage:readandtasks:readfor the tables it loads. - Open the OData connector. In Tableau Cloud, choose New → Workbook, then Connectors → OData. In Tableau Desktop, choose Connect → To a Server → OData.
-
In Server, enter the feed URL for your region:
In the US region, use
https://api.us.wordsmith.ai/api/v1/odata. Add period options to the URL to change the dates the usage and task tables cover, for example?period=lifetime. Every table you load from this connection uses them. - In Authentication, choose Username and Password. Enter any user name, and the API key as the password.
- Select Sign In. Tableau lists the feed’s tables under Table.
- Drag a table onto the canvas. Tableau builds an extract when you first use it in a sheet.
FeedUrl column of Reports, or build it from the report ID:
Rows, Cells and Columns tables.
Relate the tables
Drag a second table from the same connection onto the canvas, next to the first. Tableau relates them on columns that share a name. For a report, that’sRowId in Rows and Cells. The usage tables also share metric columns, such as Interactions and Sessions. A match on one of those gives wrong totals and no error. Open each relationship and set it to the key pair below:
A report’s tables and the feed’s tables come from different connections, so Tableau can’t relate them. Combine them in one sheet with data blending instead.
Refresh
Tableau loads the feed as an extract, which holds a copy of the table. Each refresh reads the whole table again. To refresh on a schedule in Tableau Cloud, publish the workbook or data source with the password embedded, then schedule an extract refresh. The feed refuses sorting and counting ($orderby, $count) with 501. Tableau sorts and counts in the extract, so this doesn’t affect it. See Filters and limits.