> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/writebackextreme/v4.0/product-guide/management-console/tableau-sync.md).

# Tableau sync

Synchronise Tableau users and groups from Tableau Server or Tableau Online with WriteBackExtreme. Users and Groups which are created in WriteBackExtreme will not impacted. Users and Groups will be synced and automatically deleted if they are no longer present on your Tableau Server.

{% hint style="info" %}
Every (new) user that is not yet present in WriteBackExtreme will only get access to the extension by default. When a user should also do management console tasks they need to have roles assigned by an administrator.&#x20;
{% endhint %}

### Tableau Server connection

When using Tableau server we required the full URL of the Server as opposed to the site required for Tableau online. When changing this configuration will reset the connection information form. Enter the URL of your Tableau Server and below the Tableau API version.

Tableau Token name and secret: Make sure you are using a PAT from a Tableau Server administrator account. To find more about how to get tokens visit: <https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm>

{% hint style="info" %}
**Personal Access Tokens** will expire if they are not utilized for **15 consecutive days**. If they are regularly used more frequently than every 15 days, an access token will expire after 1 year, and need to be replaced with a newly created one.
{% endhint %}

### Test connection and connect

Once all details have been added you can then test the connection, hit the test button then connect to the site you wish to sync, then hit **apply**, then **save**. You have now successfully connected.

<figure><img src="https://appsfortableau.infotopics.com/wp-content/uploads/2024/01/WBEsync.png" alt=""><figcaption></figcaption></figure>

### Sync Users and Groups

Now you’ve connected to your desired environment, sync the users and groups from your environment to WriteBackExtreme. You will see the list of the groups from your Tableau environment for you to choose the group(s) you wish to import.

<figure><img src="https://appsfortableau.infotopics.com/wp-content/uploads/2024/01/WBEgroupsync.png" alt=""><figcaption></figcaption></figure>

### Schedule sync

You can use the command codes here to fully automate the synchronization of users and groups between Tableau and WriteBackExtreme. You can execute these commands on your server using Cron or Windows Task Scheduler.

> Groups and users will not be deleted, only updated and/or created.

The command can be different per operating system. In general one of the commands will suffice. Sometimes it is necessary to add the full path to the `php` or `php.exe` (on Windows) executable.

Read this documentation for an example of how to set a schedule for Windows: [here](https://docs.infotopics.com/enterprise-installation/installation-guide/getting-started/windows/run-as-a-service-on-windows)

Full command for the `"Add arguments (optional)"` field:

```
artisan wbe:tableau-sync
```

Example action for Windows:

<figure><img src="https://appsfortableau.infotopics.com/wp-content/uploads/2024/01/tableau-sync.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.infotopics.com/writebackextreme/v4.0/product-guide/management-console/tableau-sync.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
