# Tableau Server, Personal Access Token

**URL:** <https://forum.knime.com/t/tableau-server-personal-access-token/30418>\
**Category:** KNIME Extensions\
**Tags:** tableau, rest\
**Created:** [February 4, 2021, 10:48am UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418 "2021-02-04T10:48:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcmcmc](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@mmcmcmc](https://forum.knime.com/u/mmcmcmc)\
**Post date:** [February 4, 2021, 10:48am UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418/1 "2021-02-04T10:48:35Z")

</div>

Hi,

We have been trying to use the personal access token to authenticate towards our tableau server. We could not get it to work, but realized that the access token and site id in the Tableau Server node is in fact not the personal access token, but rather the authentication token. Please add this third option in the Tableau Server Node for authentication

Access used by KNIME with access token it done by the following steps:  
**Submit POST** request to tableau server and read result:  
\<tsRequest\>  
\<credentials name=“TestUser” password=“12345” \>  
\<site contentUrl=“MySite” /\>  
\</credentials\>  
\</tsRequest\>

**Response** :  
\<tsResponse xmlns=“[http://tableau.com/api](http://tableau.com/api)” xmlns:xsi=“[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)” xsi:schemaLocation=“[http://tableau.com/api](http://tableau.com/api) [http://tableau.com/api/ts-api-3.9.xsd](http://tableau.com/api/ts-api-3.9.xsd)”\>  
\<credentials token=“8NQp4N3RQKJFNVLKJNFV DFKJ”\>  
\<site id=“d3d6d5cd-730a-4b87-b972-983d85a56b58” contentUrl=“MySite”/\>  
\<user id=“8611c916-8aec-43e6-93dd-687ef6c0dc08”/\>  
\</credentials\>  
\</tsResponse\>

The Tableau Server node uses the above site id and the credentials token to authenticate.

The person access token uses this call to authenticate which is much easier to use:  
\<tsRequest\>  
\<credentials  
personalAccessTokenName=“MY\_TOKEN\_NAME” personalAccessTokenSecret=“qlE1g9MMh9vbrjjg==:rZGHhPpP2yUW1kfn4tjg8” \>  
\<site contentUrl=“MarketingTeam” /\>  
\</credentials\>  
\</tsRequest\>

---

<div class="post-metadata">

**Author:** ![ScottF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/scottf/32/61316_2.png) [@ScottF](https://forum.knime.com/u/ScottF)\
**Post date:** [February 4, 2021, 4:48pm UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418/2 "2021-02-04T16:48:44Z")

</div>

Hi @mmcmcmc -

We have a ticket for this one also (AP-15006). Again, I can’t give a firm date for when this might be released, but your feature request has been noted on the ticket. Thanks!

---

<div class="post-metadata">

**Author:** ![mmcmcmc](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@mmcmcmc](https://forum.knime.com/u/mmcmcmc)\
**Post date:** [February 4, 2021, 5:12pm UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418/3 "2021-02-04T17:12:40Z")

</div>

Thank you for the prompt reply! We succeeded in running a POST request with the last syntax which then returns an authentication token and site id that can then be used in the send to tableau server node

---

<div class="post-metadata">

**Author:** ![bwilhelm](https://forum-cdn.knime.com/user_avatar/forum.knime.com/bwilhelm/32/444_2.png) [@bwilhelm](https://forum.knime.com/u/bwilhelm)\
**Post date:** [February 4, 2021, 5:19pm UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418/4 "2021-02-04T17:19:31Z")

</div>

Hi @mmcmcmc,

Good to hear that you found a workaround!

I also created a workflow that makes use of the REST nodes to login with the Personal Access Token. It’s a bit cumbersome but it works. I uploaded it to the HUB if anyone is interested: [Tableau\_Personal\_Access\_Token\_auth\_workaround – KNIME Hub](https://hub.knime.com/bwilhelm/spaces/Public/latest/Tableau_Personal_Access_Token_auth_workaround).

The feature for the node was implemented recently. The code has been merged already and only needs to be verified internally. The feature is already in the nightly ([Nightly Build | KNIME](https://www.knime.com/form/nightly-build)) and will (most likely) be released with 4.4.0 in the Summer.

I would be glad if you could try it out in the nightly and give feedback.

---

<div class="post-metadata">

**Author:** ![mmcmcmc](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@mmcmcmc](https://forum.knime.com/u/mmcmcmc)\
**Post date:** [February 4, 2021, 5:49pm UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418/5 "2021-02-04T17:49:59Z")

</div>

Great development. It is working exactly as it should. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [August 6, 2021, 5:50am UTC](https://forum.knime.com/t/tableau-server-personal-access-token/30418/6 "2021-08-06T05:50:06Z")

</div>

Closed on August 6, 2021, 5:50am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
