Skip to content

Commit 69b75a9

Browse files
authored
docs(product): add Tableau instructions for Semantic Layer Sync (#6942)
1 parent cc6ecdd commit 69b75a9

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

docs/content/Workspace/Semantic-Layer-Sync.mdx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,39 @@ service account with a different email address:
253253

254254
<Screenshot src="https://ucarecdn.com/2e7ac466-73a5-4dd6-9c85-ed98d9df8979/"/>
255255

256+
### <--{"id" : "Creating syncs"}--> Tableau
257+
258+
Data model is synchronized via the [Tableau API][tableau-api] which uses either a
259+
`user` name and a `password`, or a personal access token and personal access token secret for authentication.
260+
261+
You can learn more about creating personal access tokens in the [Tableau documentation][tableau-api-authentication].
262+
263+
Example `cube.js` configuration file for Tableau:
264+
265+
```javascript
266+
module.exports = {
267+
semanticLayerSync: ({ securityContext }) => {
268+
return [{
269+
type: "tableau",
270+
name: "Tableau Sync",
271+
config: {
272+
database: "My Database: production-deployment",
273+
site: "mytableausite",
274+
region: "10ax",
275+
276+
password: "******************",
277+
// Uncomment the following lines to use a personal access token instead of a username and password
278+
// personalAccessToken: "test",
279+
// personalAccessTokenSecret: "",
280+
}
281+
}];
282+
}
283+
};
284+
```
285+
286+
[tableau-api]: https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api.htm
287+
[tableau-api-authentication]: https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm#create-personal-access-tokens
288+
256289
## Running syncs
257290

258291
When the data model is updated, all configured syncs will automatically run.

docs/docs-new/pages/product/workspace/semantic-layer-sync.mdx

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,45 @@ sending them, or use a service account with a different email address:
265265

266266
<Screenshot src="https://ucarecdn.com/2e7ac466-73a5-4dd6-9c85-ed98d9df8979/" />
267267

268+
### Tableau
269+
270+
Data model is synchronized via the [Tableau API][tableau-api] which uses either
271+
a `user` name and a `password`, or a personal access token and personal access
272+
token secret for authentication.
273+
274+
You can learn more about creating personal access tokens in the [Tableau
275+
documentation][tableau-api-authentication].
276+
277+
Example `cube.js` configuration file for Tableau:
278+
279+
```javascript
280+
module.exports = {
281+
semanticLayerSync: ({ securityContext }) => {
282+
return [
283+
{
284+
type: "tableau",
285+
name: "Tableau Sync",
286+
config: {
287+
database: "My Database: production-deployment",
288+
site: "mytableausite",
289+
region: "10ax",
290+
291+
password: "******************",
292+
// Uncomment the following lines to use a personal access token instead of a username and password
293+
// personalAccessToken: "test",
294+
// personalAccessTokenSecret: "",
295+
},
296+
},
297+
];
298+
},
299+
};
300+
```
301+
302+
[tableau-api]:
303+
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api.htm
304+
[tableau-api-authentication]:
305+
https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm#create-personal-access-tokens
306+
268307
## Running syncs
269308

270309
When the data model is updated, all configured syncs will automatically run.

0 commit comments

Comments
 (0)