Set up the Tableau integration in Q-Play

Set up the Tableau integration in Q-Play

The Tableau integration lets you show your own Tableau dashboards on your screens with the Tableau app. Before the integration can fetch your dashboards, Tableau needs to trust Q-Play. You do this by creating a Connected App in Tableau and then copying its details into the integration in Q-Play.

You need to be a site administrator in Tableau to create a Connected App. If you're not, ask your Tableau administrator to do steps 1 to 5 for you.

This guide is written for Tableau Cloud. Tableau Server (self-hosted) has not been tested, so we can't promise it works right away. If you run into problems with Tableau Server, contact us and we'll look into a solution.

Before you start, see Working with integrations in Q-Play if you haven't set up an integration before.

1. Open Connected Apps in Tableau

Sign in to Tableau Cloud. In the menu on the left, click Settings, then open the Connected Apps tab.


2. Create a new Connected App

Click the arrow on the New Connected App button and choose Direct Trust.


3. Fill in the Connected App details

The Create Connected App window opens.

In Connected app name, enter a name you'll recognize, for example Q-Play integration.

In Access level, choose which dashboards Q-Play is allowed to show:

  • All projects lets Q-Play show dashboards from every project on your site.
  • Only one project lets Q-Play show dashboards from one project only. When you choose this, a second dropdown appears where you pick the project.

In Domain allowlist, choose Only specified domains and enter these two domains in the text box:

*.q-play.io *.q-play.net

You can put them on separate lines or separate them with a space. You can also copy them from the integration in Q-Play, where they're shown in a read-only field.

Both domains are needed. Without them, Tableau won't allow your dashboards to show on your screens.

Click Create.


4. Enable the Connected App

After you click Create, the page for your new Connected App opens. A new Connected App starts out disabled, and Q-Play can't show anything until it's enabled.

Click the three dots next to the Connected App's name and choose Enable. The status next to the name changes to Enabled.

If you forget to enable it, you can also do it from the list on the Connected Apps tab, where the Status column shows Disabled. Tick the box next to your Connected App, open the Actions menu at the top of the list and choose Enable.


5. Generate a secret and copy the details

Click Generate New Secret. A secret is created and shown with an ID and a hidden value.

You need three values for the integration in Q-Play:

  • Client ID: click Copy Client ID.
  • Secret ID: open the Actions menu next to the secret and choose Copy ID.
  • Secret value: open the Actions menu next to the secret and choose Copy Value.

Paste the values into the integration in Q-Play right away (see the next steps), or keep them somewhere safe until you do.


6. Create the Tableau integration in Q-Play

In Q-Play, create a new integration and choose Tableau. Give it a name and choose a timezone, as described in Working with integrations in Q-Play.

7. Enter the Connected App details

In the Credentials step, fill in the fields with the values you copied from Tableau in step 5.

Domain to allow in Tableau shows the two domains you entered in the Domain allowlist in step 3. You can't change this field, but you can copy the domains from it.

Paste the values from Tableau into these fields:

  • Connected App client ID: the Client ID.
  • Connected App secret ID: the Secret ID.
  • Connected App secret value: the Secret value.

In Tableau username, enter the Tableau user the dashboards are shown as. This is usually the user's email address. Your screens show exactly what this user can see in Tableau, so the user must be able to open the dashboards you want to show. We recommend creating a dedicated user for this.

All fields marked with * are required. Click Create Integration.


In Tableau, open the dashboard you want to show on your screens and copy the address from your browser's address bar. You'll paste it into the integration's job in the next step.


9. Set up the job

The Tableau app can show your dashboard in two ways, and each one uses its own job in the integration:

  • Embed is used when the app shows the dashboard live on the screen.
  • Screenshot is used when the app shows an image of the dashboard.

You only need the job for the way you'll show the dashboard. Add the job as described in Working with integrations in Q-Play, and give it a name you'll recognize.

Embed job

Choose Embed as Job Type, and paste the dashboard link you copied in step 8 into View link.

Renew access every sets how often the job runs. You can choose every hour, every 3 hours or every 6 hours, and the default is every hour. If you see an error on your screens, make sure it's set to every hour.


Screenshot job

Choose Screenshot as Job Type, and paste the dashboard link you copied in step 8 into View link.

Image width and Image height set the size of the screenshot in pixels. The default is 1920 by 1080, and you usually don't need to change it. If part of your dashboard is cut off in the screenshot, try a larger size.

Wait before capture is how long Q-Play waits before it takes the screenshot, so the whole dashboard has time to load. The default is 20 seconds. If parts of your dashboard are often missing in the screenshot, choose a longer wait.

Refresh schedule sets how often a new screenshot is taken. You can choose Every 5 min, Every 15 min, Every 30 min or Every hour, and the default is Every 30 min.

What's next

When the job is saved, the integration is ready. Next, add the Tableau app to your slide and choose the integration. See Show a Tableau dashboard with the Tableau app for how to do this.