Skip to content

Tableau Server & Cloud Admin TUG

Tableau Server & Cloud Admin User Group 20 Jan 2026

Diving Into Tableau MCP and AI in Tableau Server

52 min 7,377 words transcribed

Summary

Brad Fair, co-organiser of the Tableau Server & Cloud Admin User Group with Kevin O'Donovan, walks through two new ways to bring AI and Tableau together. He explains the Model Context Protocol (MCP), an open standard that works like USB for AI tools, and Tableau's MCP server, released in November 2025: its tools for listing and querying published data sources through the VizQL Data Service, metadata, workbooks, view images and Pulse, and the difference between the STDIO transport for a single local user with a personal access token and streamable HTTP for a shared, multi-user server, where OAuth keeps each user's own permissions and row-level security. He demos Tableau MCP in Claude Desktop, from listing data sources to multi-step questions, and shows the JSON configuration. He then turns to Tableau Agent, new in Tableau Server 2025.3: configuring an OpenAI API key and the three recommended models, and a live web authoring demo that builds and refines a viz from plain-English prompts. He covers security for both: token expiry, network access, what Agent sends to OpenAI, spending limits and checking AI output. Cristian Saavedra of XeoMatrix closes with DataDev Quest, the community's monthly beginner and intermediate API challenges, including two on MCP, and a 3D Marvel character explorer built on Tableau MCP.

Listen to this TUG

Prefer to listen? This meeting is also an episode of the Tableau TUG recordings podcast.

Key points

  • MCP brings Tableau data into AI tools; Tableau Agent brings AI into Tableau.
  • Tableau's MCP server needs Tableau Server or Cloud, Node.js and either a personal access token or OAuth.
  • Use STDIO with a personal access token for one local user; use streamable HTTP with OAuth for a shared server.
  • With OAuth each user logs in as themselves, so Tableau's content permissions and row-level security still apply.
  • Each MCP server instance is currently bound to a single site.
  • Tableau Agent on Server 2025.3 currently works only with OpenAI and its standard endpoint; set spending limits.
  • Agent sends field names and some sample data to OpenAI, so check your data classification policies first.

Jump to a chapter (17)

  1. 0:00 Welcome and agenda
  2. 2:50 What is MCP?
  3. 3:56 MCP architecture
  4. 6:02 Why MCP matters
  5. 8:21 Tableau's MCP server and its tools
  6. 11:34 Q&A: MCP and multiple sites
  7. 13:41 Transports: STDIO and streamable HTTP
  8. 18:13 Demo: Tableau MCP in Claude
  9. 28:00 Configuring the MCP server
  10. 29:59 Tableau Agent on Tableau Server
  11. 31:09 Configuring OpenAI and the models
  12. 35:19 Demo: Tableau Agent in web authoring
  13. 40:28 Security for MCP and Agent
  14. 42:43 Key takeaways and resources
  15. 44:32 Cristian Saavedra: DataDev Quest
  16. 49:42 A 3D Marvel explorer with Tableau MCP
  17. 51:35 Close

Transcript

0:06 Brad Fair: Welcome to the, the Tableau admin, uh, user group. We're going to be talking today about a, a couple of relatively new features with, uh, within the, the Tableau ecosystem, Tableau MCP and AI and Tableau Server, which is, uh, a, a really new, uh, really new feature.

0:31 So my name is Brad Fair.

0:33 I'm one of the organizers of the event, along with Kevin O'Donovan, and we also have, uh, Christian that has, has joined us today, and w- he's going to be talking a little bit about, uh, the Data Dev Quest and answering any questions about the, the technologies that we'll be talking through today. So, uh, you know, please feel free to, as well, if, if you, uh, are able, to answer any questions or engage, um, in, in the chat, or if there's anything you wanna say, uh, on, on the microphone, just, uh, chime in, let us know.

1:12 We're happy to have this be as interactive a conversation as it makes sense to be.

1:17 What we're gonna talk through today, kind of going to be in a, a couple different sections. First, we're going to talk through MCP, m- what that is, uh, Tableau's MCP architecture, uh, the d- different ways that you can connect to an MCP.

1:36 And then I will do a live demo showing you, uh, just briefly how we can interact with it in, uh, a tool like Claude, uh, Anthropic's, um, Anthropic's LLM chat model.

1:53 And then, uh, we'll also jump into Tableau Agent, which is a new feature on Tableau Server as of 2025.3, and, uh, I'll, I'll show you what that looks like on, uh, a, a lab environment of mine, uh, lab environment of mine.

2:12 And then we can talk through the relevant details about security and administration.

2:18 Uh, and, and finally, we'll provide some resources and, and introduce Christian again to talk about the Data Dev Quest and open it up for, for Q&A.

2:31 I expect that we'll have plenty of time for Q&A. Hopefully, that is the case.

2:38 Uh, but please feel free to, as, as we talk, uh, toss any questions that you've got into, uh, into the chat, and we'll do what we can to, to answer them.

2:50 So first, what is MCP?

2:54 MCP is, um…

2:57 It stands for Model Context Protocol, and the idea behind it is to be an open protocol, that is, one that is, is fully documented and available for everyone to understand how it works, uh, that standardizes how AI apps like Claude or ChatGPT or, or other AI-related tooling can connect to external data sources and tools, among other things.

3:24 So you know how USB is kind of a, a, a hardware specification that allows you to plug in pretty much any kind of device into your computer. This is fundamentally like a USB, but for AI tools. One standard interface for all connections, uh, a- any type of thing that you might need to equip an AI tool to do or use.

3:52 So that's, uh, that's the idea behind MCP.

3:57 From an architecture perspective, it, it is a relatively straightforward architecture to understand. So you have an AI application like Claude, Claude Desktop, Cursor, uh, VS Code. I don't know if any of you are using Claude Code or any of the other coding tools.

4:16 Uh, really, a- any number of AI applications serve as the host, and they implement an MCP client that connects to an MCP server. So this MCP client is really just a way for that desktop application, um, or whatever the application may be, to interact with the MCP server and, um, execute tool calls or look up resources.

4:50 Uh, you know, the MCP client is like the, the AI side of the equation.

4:56 The MCP server is, uh, m- the other side of the equation, and for the one we're talking about, that's, that's Tableau's. Tableau has built this MCP server. It's available on Tableau's GitHub, and, uh, it provides tools that these AI applications can use.

5:18 The MCP server will connect to your data, whether that is on Tableau Server or Tableau Cloud.

5:26 Um, the MCP server is effectively that layer that translates the tool calls or, uh, resources that the AI client requests into actual Tableau API requests.

5:41 Uh, so the architecture is, is really pretty straightforward. The first two things are implemented by the AI tool, and the, the second, the, the last two things are really implemented by, uh, you and your team and Tableau, um, by way of making this MCP server available. So what does MCP really matter? Well, before Before there was a standard for this, which truly was not that long ago, anytime you wanted to connect to a specific set of tools, it required a custom integration.

6:20 You might need to go program your own, uh, Python capabilities, your Python, uh, tool set to, uh, to offer tools directly to the, the AI that you're working with.

6:34 And, uh, that…

6:37 I, I think the people that did that at the time understood that's quite a bit of effort. It was expensive to do, um, if not from a cost perspective, at least from a time and effort perspective, and hard to maintain because you have each person or each group that's out there building their own tools to connect to their stuff, um, needed to, needed to keep up to date with changes.

7:04 So, you know, if we wanted to build something for Tableau, to connect to Tableau, then each individual person or team might need to update their, uh, custom tools every time Tableau updates.

7:20 With MCP, we all get to share these utilities so that we, we don't have to update them constantly and, and do a lot of programming behind the scenes to keep them up to date. If I wanted to make a change to the tool, I could do that, and you would benefit from that change that I made. Now that we've standardized on MCP, you can build the tool once and connect to it from any AI app that's capable of, of using MCPs, which I think is probably all of them at this point, because it is a well-documented standard.

7:59 Um, the integrations are reusable. There are patterns that we can follow, and if you, if you look out there now, there are a lot of tools, uh, already available in the, in the ecosystem, and there are more and more available as time goes on. So it is a growing ecosystem.

8:21 So let's talk about Tableau specifically. Tableau's MCP server was officially released in November of 2025, and it is this suite of, uh, what, what we put here is developer primitives. It's, it's the building blocks, tools, resources, prompts that make it easier to build AI applications that integrate with Tableau.

8:47 It requires that you have Tableau Server or Tableau Cloud. So this MCP does not integrate directly with Tableau Desktop, for instance. But here we are in the, in the server and cloud admin user group. I think we probably all meet that requirement.

9:02 It requires a specific version of Node.js and some means to authenticate.

9:10 I put personal access token here, but it could also be OAuth authentication.

9:16 So this Tableau MCP server is something that is out there and available.

9:23 So what can the Tableau MCP server do?

9:25 Um, well, it can do more than what we've got on the screen here. I'll show you some more things in just a moment. But at a high level, it will let you access published data sources using Tableau's VizQL Data Service API, the, the VDS API, which I'm a pretty big fan of.

9:43 You can retrieve field-level metadata from the Metadata API.

9:49 You can query data using natural language.

9:52 Um, if you're working with Tableau Cloud at the moment, you can access Pulse metrics and insights, and you can get workbook and view information as well as images. So it, it really is a good way to allow an AI tool like Claude Desktop or ChatGPT to interact with your Tableau Server or Cloud environment.

10:19 I did mention there were a lot of tools. So here, here we have a few categories with some more info about the, the different tools that fit within.

10:28 So from a data access perspective, uh, we've got tools that allow an AI to list out the data sources that are on Tableau Server, get the relevant metadata, issue a query to a data source, uh, and get the underlying data from, um, a- any given view. We also have the ability to list out the workbooks that we've got, the views within the workbooks, uh, and we can get the metadata about a workbook, including, uh, getting the image for a view.

11:03 So, um, you know, w- we're at the point where when you're talking with ChatGPT or Claude, you can ask, uh, to go get the image of the Superstore dashboard, and, uh, it can, it can pull the image and actually interpret what is on the image.

11:23 With Pulse, you can list Pulse metrics. You can get subscriptions. You can generate, uh, an insights bundle. And Christian posted a link of, uh, lists, a, a list of tools to the, uh, uh, to the chat there.

11:40 So, uh, someone asks, "How does this work if we have 15 sites?" And I- I'll, uh, I'll mention that when you're configuring this MCP, it is site bound, so you specify which site.

11:55 Uh, at the moment, uh, you, you can specify which site a specific MCP, um, server will, will serve up.

12:06 Um, I'm not sure. I would have to dig into the code to see if we've got any opportunity to switch sites.

12:14 Um, I can see Right now, I can see a reason that we would want each MCP server instance to be targeted to a specific site.

12:25 Um, b- but I do think in the short term, there may be a, an ability to have just one MCP server that can connect to, to multiple sites. Uh, I, I can think of some implementations that, that would allow that. So hopefully that's something that we see as it comes up.

12:43 Cristian Saavedra: It's a good question. Like, um, like we can ask to Joe. Joe is the project manager of this, and, and we can ask about that if it's possible.

12:51 Brad Fair: Okay.

12:52 Yeah. Yeah.

12:53 Cristian Saavedra: On my knowledge right now is basically you need to create a connection by each of the sites.

12:59 And then-

12:59 Brad Fair: That's right

13:00 Cristian Saavedra: … using code you can switch.

13:02 If you're using cloud, basically you need to create different sessions and then connect.

13:08 Brad Fair: Right.

13:09 Cristian Saavedra: Different way, so.

13:10 Brad Fair: Yes. So for, for Tableau Cloud, since sites can be on different host names and such, uh, I, I can see why you would need a, a different authentication for each site.

13:24 On Tableau Server, it, um, we ha- I think we've got the, the underlying opportunity to consolidate them, but I, I don't know that that's implemented currently.

13:35 Uh, so yeah, I think that, I think that we've got some opportunity to improve with, uh, multi-site scenarios.

13:42 So let's talk transport. How, how can a client like Claude Code or Claude connect to an MCP server?

13:53 There, there are three ways to do it, but two, uh, I think we'll, we'll just talk about two at the moment. So the first one is, uh, STDIO, which stands for standard input and output.

14:08 If you've ever run a command in a terminal or a command prompt, then w- what you're typing is going into standard input, and the response that comes back from that command, uh, goes to standard output. So this is really just like we're interacting with a terminal ourselves, only instead of us interacting with the terminal, it is Claude or ChatGPT interacting with the MCP server.

14:41 They're seriously just sending messages back and forth using the same kind of standard input and output that we use on terminals and in command prompts.

14:50 So this is best suited for individual developers or local workflows.

14:56 It uses local process communication, so in, in that scenario, you're likely to be running the MCP on your own machine.

15:05 Uh, so that is single user. The MCP is serving just one user on a single machine.

15:12 Uh, you can use personal access token authentication when it comes to this, uh, standard input and output transport.

15:22 And it is ideal for tools that you run locally, like Claude Desktop or Cursor, um, Visual Studio Code, uh, ChatGPT Desktop, and, and so on.

15:34 So, um, I, I think by default when you're working with an MCP server, if you don't specify some other kind of transport mechanism, this is what, uh, this is what gets used by default.

15:50 So another transport mechanism, uh, that I think may be of interest to plenty of people here, uh, streamable HTTP. So this is better suited for enterprise or multi-user deployments where you want to deploy an MCP server once and have multiple users be able to use that, um, within their own security context.

16:15 So, uh, this uses network-based communication. It, it needs to be installed and running on a server of its own.

16:24 Uh, so your tool set, like Claude, would communicate to the MCP server over the network, uh, in a similar fashion as you communicating to Tableau Server or Tableau Cloud.

16:38 It's good for multiple users using one shared MCP server.

16:43 You do still need to have the MCP server authenticate to Tableau.

16:49 Um, and because we've got multiple users that are, are trying to connect to their Tableau environment, uh, it's best to use OAuth authentication rather than something like personal access tokens.

17:04 If you used personal access tokens in, in this scenario, then it, it would effectively be like the MCP server is logging into Tableau as just one user, and all of the users that are communicating with the MCP server are… They're getting the security context of whoever owns that personal access token.

17:27 So it's, uh, it is best to use something like OAuth for this HTTP tr- transport so that each individual user can, uh, can have their own authorization and get the f- the, the data and the security that they need on their Tableau environment.

17:47 Because this is hosted on a shared server, it does require that, uh, you have, uh, special consideration for the firewall and the network and how people can communicate to that server.

18:01 There, uh, we've added a note down here that says personal access tokens can't be used concurrently in HTTP mode, so you should be using OAuth for multi-user.

18:13 And with that, um, I can Open up a, a Claude tool of mine and do a, do a demo. I'll show you the end result first. So what, um, what I'm going to share is the Claude Desktop app.

18:31 Says I'm thinking.

18:34 Uh, I'm assuming you all can see my Claude screen.

18:38 So I do have the Tableau MCP already installed and configured, and when I come into this, um, in Claude, I can see what connectors I have in place. We can see that I've, I've already got the Tableau MCP configured and enabled. I will come back to what it looks like to configure this and just show you, um, in a little bit. But first, let's actually use this so we can see how, uh, how that, how that works.

19:10 So the f- the first thing that I wanna do is, let's say, ask it what data sources are available on my Tableau Server environment.

19:21 And at this point, Claude understands what tools it has available because the MCPs expose these tools to Claude, and it chose to use this list data sources tool.

19:37 Uh, and it received the results back. This lab environment that I've got is, is very lightweight, so we can see a couple instances of Superstore. We've got a, a TS content, um, a data source about hockey for bug testing, and some other things going on.

19:57 Claude helpfully asked if it, it should pull metadata from any of these or, uh, allow me to query it directly. And everybody knows Superstore, right? So let's have it pull some metadata from Superstore.

20:11 Uh, what fields are available in our Superstore data?

20:19 And so at this point, it's going to choose a different tool. It chose list data sources just a moment ago. Now it's choosing get data source metadata, and it is providing the, uh, the canonical Tableau samples data source.

20:37 Uh, and it shows the, the dimensions, their data type, any notes, the measures, uh, the parameters that we've got, and it offers to run a query against the data.

20:49 So here's where it can really get powerful, uh, allowing us to just ask business questions in plain English. So we're going to say, um…

21:02 I don't think I even need to tell it what data source we're going to use, so I'm just going to say, "Can you please show me total sales by category?"

21:14 And let's have it, uh, let's have it pull that. While it's doing this, I'm going to review some of the questions we've had, uh, pop up in chat. So Matt asks, "Are there cron type jobs available in the MCP server?

21:26 Or is it largely for ad hoc single requests?" It is largely for ad hoc single requests. Um, I, I don't know that there's cron functionality in there, but Christian or Kevin, feel free to correct me if, if I'm wrong there.

21:42 Kevin O'Donovan: Uh, that's my understanding also, Brad.

21:46 Brad Fair: Uh, we do have, for different, um, AI applications, the ability to, uh, schedule a task or an action.

21:55 So I know that ChatGPT really publicized this ability where I could say something like, um, "On Monday morning at 8:00 AM,

22:07 export my sales dashboard image and send it to me in Slack." And it would set up its own cron job, um, or scheduled task to, to do that. And at that point, I'm sure it would use the MCP, uh, as th- the way to go get the info, and it may use the Slack MCP or other native integrations in that case.

22:31 Cristian Saavedra: It's an interesting question, by the way, uh, the one that Matt say. Um, and I think that the answer is both, because a single thread… I mean, at the end, Tableau MCP server, what it is, it's a, it's a npm process that is running in the background.

22:50 Brad Fair: Mm-hmm.

22:51 Cristian Saavedra: And these support multithread.

22:53 Then if you, uh, basically you can run it in, in, in parallel.

22:59 And at the same time, you can create, uh, applications on top of this, uh, server that is running, and I can show one of example that I have left in that other request. But, and doing this application, for example, in a Python script, you can create a cron that call this, and then from there you can basically send it by, by any time, right?

23:22 Then the, the answer for me is both. The single thread as, as someone that asks some question directly via request-

23:30 Brad Fair: Right

23:30 Cristian Saavedra: …

23:31 or a cron type that you can create a scheduler jobs that refresh.

23:36 Brad Fair: Right. Then that makes sense.

23:39 Um, so Matt, hopefully that, that answered the question. Uh, and Jasmine says, uh, "Given a transport streamable HTTP needs to be installed on a server, does the MCP client need to be installed on the same server?" And it does not. The MCP client is going to be whatever the AI app is. So in my case, it's Claude. You can think of that like the web browser accessing Tableau Server.

24:06 It's the client side of things that's running on people's desktops or, um, wherever the AI tooling is. That's, that's the place for it

24:17 We have, uh, another question. How can we query metadata for a specific user so it does it using the permissions that user has? I think we've got a, a follow-on there. So someone has thousands of data sources on cloud, sometimes duplicates. How do we know which one is correct to query the result? I think that's, that's kind of related.

24:37 Uh, another asks, how can we manage row-level security among the end users using MCP?

24:43 So I think that the, the best answer for this, when you have multiple users that have their, their own security, whether that's row-level security or, like, content security, would be to, um, use the OAuth authe- um, authentication so that each individual user actually logs into Tableau, uh, with their own account. That way, when we do list data sources, it, it is from the context of that user that's logged in for that session.

25:21 So this is where Tableau's MCP with, uh, that supports OAuth authentication really helps because it, it enforces Tableau's built-in row-level security and, um, and content security.

25:40 Uh, someone asked, "Do we need to… In Claude, did you set up MCP?" And yes, I did, and I'll, I'll come back to that in just a moment. So we'll show the, uh, the, the Tableau Server or the, the Tableau MCP configuration.

25:55 So jumping back over to the, the Claude window here, uh, I've asked it to show me the total sales by category, and it did. It, it used the query data source tool to get the info from there, uh, which is the, the tool that's available that uses Tableau's VDS API.

26:15 So in, in normal Claude fashion, it's, it's asking some follow-up questions here.

26:22 So this, uh, is pretty straightforward so far, what we've, uh, what we've done.

26:28 But we can ask, uh, a little more complicated questions or complex questions that have, like, multiple tools that need to be called. As so long as the LLM is capable of deciding which tools to use in what order, then it should work out. So I can ask which customers are the most profitable.

26:53 Show me the top five by total profit.

26:59 And in this case, uh, there's every chance that it would need to go collect info about the field values. But we, we did do that up above, so I think we still have the, uh, the metadata here. So it's, it's already aware of which fields to use.

27:18 And then it was able to, to execute this query to, uh, to get the, the detail.

27:26 Someone's asking, "Is this Haiku or Sonnet?" This, uh, so what I'm using right now is Opus 4.5.

27:33 Uh, I don't know that Haiku would be very successful. I think Sonnet would work just fine.

27:38 Uh, effectively, as long as you've got a model that's capable of, um, distinguishing, given my question, what tool it needs to execute to get the answer, then you'll be in a good spot. Um, and many models are, are well suited to using MCPs.

27:59 Uh, okay. So I said that I wanted to show you what configuration looked like for the MCP server, and I'm going to do that with a VS Code window, and I'm not going to update my VS Code while I'm doing a demo.

28:16 So when you're configuring an MCP server, uh, sometimes you can do this within a, a GUI, which is nice, in which case you'll have, you'll have text boxes that represent each one of these fields here. So, uh, it makes it easy to configure. Sometimes you, you need to do this from a JSON file, like, uh, like what I've done.

28:43 And in those JSON files, uh, you effectively just add your MCP tool here, give it a name, and then specify which command it runs for that tool, what the arguments are. So in this case, NPX is a way to just execute a node project.

29:03 Dash Y means don't prompt me for this. Just, uh, I'm saying yes to whatever prompts might need to come up. And then this is the, the name of the package and the version, uh, that we want.

29:19 And then finally, we need to provide some environment info. And in my case, this is my, uh, lab server environment and, uh, personal access token name and value.

29:30 If you're using OAuth, then these, uh, this configuration will look just a little bit different. But in that Tableau GitHub repo, you can, you can find some information about that. Excellent. So we went through and listed the available data sources, found field metadata, um, did a simple query, and then, uh, a more complicated query.

29:54 Uh, hopefully that, that shows you some of the things that we can do with, uh, MCP.

30:00 And then we can move into talking about Tableau Agent, uh, which is a new feature in Tableau Server. It's been available on Tableau Cloud for a little bit.

30:11 It is an AI assistant embedded directly in Tableau Server so that you can use natural language to help users create visualizations.

30:21 What we've discussed so far is the MCP, which is about bringing Tableau data to the AI tools.

30:29 Now we're gonna flip the, the script there and talk about Tableau Agent, that is about bringing AI capabilities into Tableau.

30:38 So these two different approaches are different, but they're both valuable. So, um, what I would say is just choose the right approach for based on what your use cases are.

30:50 Tableau Agent features gives you conversational web authoring, uh, the ability to create certain visualizations just using natural language, uh, getting suggestions in Tableau Prep, and explanations about, uh, given data.

31:10 In order to configure this in Tableau Server, the first step is that you need to have an OpenAI API key.

31:19 So you can get one of those, if you've not done this before, by going to platform.OpenAI.com.

31:26 And if you need to create an account, uh, fund the account properly. You can create a project, uh, dedicated to your Tableau environment, your Tableau site, whatever the case might be, and then generate a key there.

31:43 That key is, is kind of like a personal access token. It gives you the ability to authenticate with OpenAI so that an application can programmatically, uh, interact with these, uh, large language models.

31:59 Once you have a key, then you'll wanna put that into Tableau Server, which you can just do from your, uh, your site settings page.

32:09 Uh, on the General tab, you scroll just a little bit down the window, and you'll see a section for AI in Tableau.

32:17 So you can put your key in. You can test that, and then you have to configure three different models. Tableau gives you suggestions about which model to use for which use case. So you have a model that's about understanding your natural language requests and doing something with it.

32:35 You have a model for, um, interacting with visualization, and one for embeddings or understanding what, um, what meaning is ascribed to, uh, natural language. So i- it's effectively a way to have the LLM interpret what you mean by what you say.

33:01 This is for Tableau 25.3 and above.

33:07 And then w- with these, you can toggle the AI features on on a per site basis.

33:15 So, uh, we have someone that asked, going back to the MCP, "Are there any known limitations when integrating MCP with enterprise AI agents, uh, dashboard type supported or query complexity?" And I think, uh, that's probably a good one for the, the Q&A as we, as we near the end. So I'll, I'll table that but come back to it in just a little bit.

33:38 Um, okay. So configuring AI is, is pretty straightforward. I will point out a couple of things just to preempt some questions. Right now it does only work with OpenAI, and it does not allow you to customize which OpenAI endpoint you need, um, or you can use. So for those of you that are using special endpoints for Microsoft or, uh, AWS Bedrock and such, you do not yet have the ability to change the URL that we're connecting to.

34:12 So about those models I was talking about, Tableau recommends the models that I've got on the screen for the, the different use cases.

34:20 And there is, uh, there are a couple of reasons for that.

34:24 Uh, for one, the capabilities are different between different models. You know, GPT 4o Mini, for instance, is, is faster. That means you can get through more chats in the same amount of time.

34:38 And it does okay with understanding, but its analytical capabilities leave it a, a little wanting. So for visualization, it needs, uh, a stronger model, GPT 4o.

34:52 The costs for Mini are smaller than for the, that larger GPT 4o model.

34:58 Uh, so it really is beneficial to use the, the Mini model for understanding and then the stronger model for the visualization aspect. And then for embeddings, we use this text-embedding-3-small, and that helps for semantic search and understanding the meanings behind things.

35:20 Uh, so with that, I can give a live demo of the agent capabilities.

35:28 And we had a question, "Are there any open source key or available open source AI models I can use the key for?" Um, I don't know of any directly with OpenAI. Uh, but they, they may have some capabilities for you, uh, that, that you can use. Uh, I will say I was able to test this out a- all in all for less than five dollars.

35:54 Uh, so it's, it's not terribly expensive to get started, but as far as I know, it, it does require a paid account.

36:02 So what I'm going to do here is open up, um, a new workbook in web edit

36:14 and connect to the Superstore data source.

36:21 Connect.

36:24 And I think we're probably mostly familiar with this screen.

36:28 Uh, just below this Publish As button in the top right, there is this Agent icon that we can click on. And if you have Agent configured, uh, according to the instructions that we've got there, then this will allow you to conver– um, have a conversation with an AI assistant to explore and analyze the data.

36:52 So I've read and acknowledged the warning there, and I can, uh, I can open this up and ask it a, a question or, uh, give it a, a statement and see how it responds, and I'm just gonna do something basic. Show me sales by category as a bar chart.

37:13 And at this point, it is working with a OpenAI API and, um, uh, trying to understand what I'm asking for, trying to understand the data source, and then ultimately trying to build the visualization, uh, that, that I've requested.

37:31 Because this process requires a little bit of back and forth, uh, it, it takes just a moment, but you can see that it has created the bar chart to show the sum of sales by category, sorted in descending order. So it, it definitely did do what I asked to.

37:50 And then we can refine it and say something like, "Add profit as a color to show which categories are most profitable."

38:03 And it's going through the same workflows, understanding what I'm asking for, what things are available for it to choose from, what actions it needs to take to, uh, affect the visualization.

38:19 So here it's added profit to the color shelf and is showing the profitability.

38:26 Um, we can also ask analytical questions, uh, like which region has the lowest

38:34 profit margin, although I would argue that we can see that because color.

38:40 Uh, let's, let's see how it comes back.

38:44 So someone asks, "Does the, does the agent decide GPT-4o versus 4o mini based on the user ask?" And you can think of this kind of like a workflow.

38:57 It's, uh, first interpreting the question to understand what it is that I'm asking for, and for that, it's choosing that understanding model, 4o mini.

39:09 And once it understands what I'm asking for, then it, it needs to understand how to deliver that, how to actually do it, and that is done with the stronger GPT-4o model.

39:24 Uh, we can see here that it said, "I can't make exactly what you've requested, but here's a viz based on the fields you mentioned." So it, it did the, a best guess as far as what I was asking for and, uh, affected the visualization, uh, on its own.

39:40 So, uh, I think you can see that the, the agent does pretty well with interacting with worksheets and, and building out visualizations for us, and, um, we can… I th- I think we can probably improve on some of this analytical parsing just, uh, just a little bit more.

40:01 So here we have, uh, the demo of the Tableau Agent.

40:07 And yes, we were able to open Superstore, uh, create a, a worksheet, open that Tableau Agent panel and ask it a question, have it create a viz, and then refine that viz for us. Uh, so it's super useful for, for people that maybe the, the Tableau web authoring UI is not, uh, second nature. Let's talk security for a second. Uh, I think we've already talked about some of these things, so we'll, we'll go pretty fast over it.

40:35 For the Tableau MCP, if you're using personal access tokens, just be aware that those tokens are tied to specific users, so they represent those specific user permissions.

40:47 Uh, users can only access the data that they can see, but Tableau only knows who the user is based off of either the personal access token or the OAuth data.

40:59 Uh, you should set personal access token expiration policies. You don't want a token to get leaked and then be long-lived.

41:07 And if you're using the HTTP transport, if you have a centralized MCP server, y-you should use OAuth instead of personal access tokens.

41:17 Um, it's also worth pointing out that in order for this MCP server to work, uh, the MCP client needs network access to Tableau. The MCP server needs network access to Tableau.

41:33 Um, so that's where the tool called Logic comes from.

41:38 Onward, talking about security for Tableau Agent. This does send queries to OpenAI.

41:45 Uh, those queries can include field names and some sample data, so you should definitely review your data classification policies and ensure that you understand the, uh, the ramifications of interacting with OpenAI using Tableau Agent.

42:02 Uh, you should store the API key securely i- in, in server, in the, in the configuration dialog is, uh, encrypted by default.

42:12 And it is also wise to set spending limits in OpenAI, uh, because every time you chat with Agent, it, it costs just a little bit.

42:24 Uh, it's worth noting that generative AI can produce inaccurate responses. I'm sure if any of you have interacted with AI before, you're perfectly aware that it is, uh, it's not always accurate. So at the end of the day, you assume the responsibility for the, uh, the, the interactions and whether you take them to heart.

42:44 So we've got some key takeaways here with regards to AI and Tableau right now. We have two approaches, but one goal, AI plus Tableau. With MCP, it is, um, bringing your data into the AI tools like Claude or ChatGPT.

43:02 With Agent, it is bringing the AI into Tableau so you can chat with a Tableau Agent and have it do work for you.

43:11 MCP is, I would say, more developer-focused. This allows you to build custom AI workflows with Tableau data, whereas Agent is, um, is more about helping analysts create visualizations faster or helping users that, let's say, are, are not sophisticated Tableau analysts, uh, kind of get off on the right start.

43:37 And then you should be, uh, be thinking security first.

43:41 Consider managing personal access tokens for the MCPs that, that you deploy, the MCP servers, uh, and ensure that you have your, uh, API key, um, properly stored and secure for Agent on Tableau Server.

44:00 We've got some resources for these things. I'm happy to provide a, a copy of this slide deck to, to all of the attendees, so these links will take you to the, the different resources we've used for Tableau MCP and for Tableau Agent.

44:15 And this is where I'll add, we have another resource. Cristian, I was not able to get a slide in on the, on the deck, but, um, I, I want Cristian to, to hop on the call and, and talk through, um, what he's done recently and, uh, the Data Dev Quest that he's got available.

44:33 Cristian Saavedra: First, uh, I, I'm going to have a really quick, I mean, uh, this is our old presentation that I did. Then I'm going to be a little more quicker.

44:41 First, uh, thank you for bring me here as a guest. Uh, I really appreciate, and I saw many interesting question in this group.

44:51 A lot of future, wishing the best, uh, you're going to rock this, this, this is a good talk. I want to participate. I want to s- be here and connect every time that you have a new session, only to learn.

45:05 Then, uh, my case, hi, my name is Cristian Saavedra. I am a Visionary, also Data Dev ambassador, working with Kevin in XeoMatrix at Tableau partner as a lead solution architect XeoMatrix. If you want connect with me, you can connect on LinkedIn.

45:21 Then, basically, one of the thing that I want to share today is Tableau Data Dev Quest. Data Dev Quest is basically a challenge page that was developed by people that is coming from the Data Dev community.

45:34 Then, uh, we have some, uh, many times we try to do this. Uh, I remember five years of this idea of, hey, in Data Dev, in the tools and the code and everything that is related with APIs, we don't have challenges to learn, and example is very difficult to get.

45:53 Then, uh, basically that is the full idea of, hey, let's do it, was created. We tried many times and didn't work until the, in 2020, in '24 August, we made it.

46:07 Then, uh, after a year, basically we have 18, right now I think that is 20, no, 18 challenges. Is still 18 challenges. Is coming to more soon.

46:19 And basically, we already cover many APIs like, uh, REST API, uh, Hyper API, established functions, metadata, VizQL Data Service, and also MCP. And that is why I, I, I mentioned to Brad and Kevin that, "Hey, let's, let's use it to the presentation." Uh, in this quest is basically, this journey is, is connected with, uh, as I say, many community, uh, ambassadors and Visionaries.

46:48 And the why we create this is because we have this feeling of a, a wall that we, we stop to because we don't have enough examples.

46:58 And then the format is basically we are creating two type of, uh, pr- projects. One is challenges, one is for the beginner, and another one is intermediate.

47:09 Then the beginner one, basically that works is, is, um, how that works is that basically the beginner is going to give you… And let me share. Let me show you what is that. If you go to the Data Dev Quest page, basically you will have two different, uh, uh, challenge by each time that we mention. And then the, you know what, because the, the month that is, uh, publish it.

47:37 Then you will have a beginner session and a, and you have an intermediate session. If you go to the beginner, you will have, in the format is the same for everything that we publish, you will have something about, A, which one is the objective, what you are going to learn here, uh, why this challenge was made it, what are the goals that we want to try to do, and also resources that you can more in detail, uh, uh, if you are interested more in the technology that we are explaining.

48:03 And basically after that, we are going to give you a step-by-step, hey, how you can do it, everything of this for, for yourself. For example, the, the example that Brad is showing about the how to configure Tableau Cloud, you can do it by yourself following these instructions.

48:20 And at the end of the, the, the page, you will get a challenge.

48:25 And then this challenge is going to basically say, "Hey, a part of that you already did. You can do another thing.

48:31 Then try to solve it." And then the next, uh, session that we have in the talk that is called Data Dev, uh, basically you are going to present a solution, and that is the full idea of the challenges.

48:44 Then, uh, for this example, I have two challenges related with MCP.

48:52 One that is using Claude Desktop and another one that is using terminal, uh, chat with ChatGPT and Python.

49:01 If you're a person that like the coding, they basically check the code. This is the way how you can connect, uh, basically using the, the, uh, t- terminal connection with chat, uh, Tableau MCP, and internally is using a lot of, uh, LangChain and Langfuse to basically call better the sessions. I can, I can answer more question about that if you want.

49:28 But basically you have a code that all of that is in the challenge, and you will get the same prompting that you ca- you have right now in cloud, and you can create your own applications. And this open the door to do many, many things.

49:42 For example, one of them is this example that I have here, uh, Marvel Comics, uh, is a, a publication by a, a person that I, I really like, uh, in, in the community. And then basically she share this, this, um, uh, dashboard that internally have a good database where it's connecting all the Marvel Comic, uh, characters by all the movies.

50:08 Then I took it and I use it to create this 3D environment that connect all the, the characters, and basically connect it with, uh, AI intelligence using the technologies that you just saw. Then from here you can do some questions. For example, "Hey, which one is the unique names that is here in this dataset?" And then basically that is going to do is go to a VDS query or VizQL Data Services query that also, if you don't know what is that, uh, we made a, a challenge about that in the middle of the year that is here in the March.

50:50 And then also here, I, I, I personally explain you in details how to use it, what it is, uh, what's internally using them, all of that is there.

51:00 Then basically you, you can get questions and answers as, uh, Parag show you. But apart of that you can, you can get some interesting things like interaction. For example, "Hey, uh, I want to know what is Goose." Goose is the cat that is in the Marvel comics. Then doing that I can do a interaction with existing AI model and then open the doors to create a new type of, uh, implementations of things created with AI, not only the prompting, because these two now are related.

51:32 And basically that is more what I want to show.

51:36 Brad Fair: Excellent. So I think this, uh, this wraps up what we had on the schedule to discuss, and we're approaching the, the end of the, end of the, the time allotted for this, uh, this meeting. So if, if there are any other questions or anything, please feel free to, to ask.

51:54 Uh, otherwise, we really appreciate you all joining us and hope to see you next time. But again, thanks everyone for joining. It's been a pleasure. Have a good one.

Shorts for this TUG

Leave a comment

Your email address will not be published. Required fields are marked *