An Agent for Tableau Admins
"An Agent for Tableau Admins" by Eric Summers
1h 8,010 words transcribed
Summary
Eric Summers, who learned Python to drive Tableau Server Client when he first became a server admin, shows Team DataFam TUG meeting 83 how to think about AI agents for the operational side of Tableau Server and Cloud. He separates a script, a chatbot and an agent, describes the observe-decide-act loop, and treats autonomy as a dial from watching silently, through recommending, to autopilot. Tableau environments suit agents because the APIs expose so much data and the same refresh failures recur every week, usually overnight, before morning reports are needed. His demo, Scout on tableauops.com, is connected to the Anthropic API and scores each refresh failure on time to view, fan-out and trust, alerting only on the ones that matter and fixing a lost credential once a human approves. He recommends connected apps with JWT over personal access tokens for their scoping and because they don't expire. Q&A covers learning Python, agent-to-agent orchestration, managing several client sites, tabcmd, the DataDev Slack and the Tableau MCP.
Listen to this TUG
Prefer to listen? This meeting is also an episode of the Tableau TUG recordings podcast.
Key points
- A script does the one thing you told it, a chatbot answers when prompted, and an agent observes, decides and acts on your behalf within the goal and boundaries you give it.
- Autonomy is a dial, not a switch: watch and alert, then recommend, then autopilot. Staying in recommend mode forever is a legitimate choice.
- Run a new agent in report-only mode first. Seeing what it would have done lets you refine its guardrails and instructions before it touches anything.
- Tableau Server and Cloud are a good first home for an agent: the REST API, Platform Data API and VizQL Data Service expose a lot of data, and the same failures recur.
- Most refresh failures are small and repetitive, such as a retry or lost credentials, which makes them ideal for an agent to diagnose and fix.
- Score incidents instead of emailing every failure. Time until peak viewing, how many workbooks and important viewers depend on it, and its history decide what deserves a ping.
- An agent authenticating with a personal access token inherits all of that user's rights. Scope what it can do.
- Prefer a connected app with JWT for long-running automation: you can scope access per object type, and there's no 365-day token to rotate.
- Learn what each Tableau API can actually do. AI assistants will confidently suggest functions that don't exist, and knowing the API saves a long troubleshooting runaround.
- Start with Tableau Server Client, a simplified version of the REST API. A first script can be as small as pulling users and their license roles.
- When your agent gets past a roadblock, have it store that solution in its memory so it isn't caught out the same way again.
- The trend is towards many small single-purpose agents with an orchestrating agent above them, including one agent per client site for consultants.
- tabcmd runs from the terminal on Tableau Server, so a Windows batch file can automate it without a Python server, but it doesn't work on Tableau Cloud.
- The Tableau Server Client GitHub repository's docs and examples, and the DataDev Slack workspace, are where to learn and get unstuck.
Jump to a chapter (19)
- 0:00 Welcome to Team DataFam TUG meeting 83, and Ambassador nominations
- 1:19 Eric Summers: from server admin to Python and the APIs
- 4:45 The agent loop: observe, decide, act
- 5:30 Script vs chatbot vs agent
- 7:12 Trust: autonomy as a dial, and guardrails
- 9:42 Why Tableau Server and Cloud suit an agent
- 14:02 Demo: Scout and the heat score for refresh failures
- 20:25 Levels of autonomy: watch, recommend, autopilot
- 21:14 Guardrails: PATs vs connected apps and JWT
- 22:50 Q&A: scoping an agent's access
- 26:37 Getting started: learn what each API can do
- 30:44 Q&A: how to learn Python
- 34:24 Q&A: agent-to-agent orchestration
- 36:03 Q&A: one agent across multiple sites
- 38:59 Q&A: resources for Tableau Server Client and tabcmd
- 42:56 tableauops.com: Scout, lessons and extension hosting
- 50:32 Fixing failures before anyone wakes up
- 51:22 Contact details, the Tableau MCP, and the quiz
- 57:23 Next week and wrap-up
Transcript
0:00 Chris McClellan: So welcome to Team DataFam Tableau User Group meeting number 83. This TUG ta- aims to capture all the in-person and unrecorded presentations and give them a wider audience. I don't care where you've presented before, everyone's welcome if it's mildly Tableau related.
0:17 Uh, so if you've got something to present or if you know someone else who should be presenting here, uh, please email me at team.DataFam@Gmail.com. We'll find a slot, we'll get you on, and you can do your presentation.
0:31 At the moment, ambassador applications and nominations are open, what, for about the next two days. So get in quick. You need a few details to fill in the form. But if you think you are ambassador worthy or if you know someone else who is ambassador worthy, go and fill in the nomination form. You need some details to do that about that person. Um, and they might be an ambassador for the, the coming year.
0:56 Those, um, placements are announced in September, but it closes soon.
1:03 But today we've got Eric talking about an agent for Tableau admins. It sounds very technical, agents, APIs, libraries, whole heap of popular stuff these days. But Eric's the expert, so I'll pass it on to you and you can take it from here.
1:19 Eric Summers: Thanks, Chris. And yeah, thank you everyone for joining.
1:23 Yeah, as Chris mentioned, um, I wanna talk about just agents or how to, how to start thinking about where agents can fit inside of your workload. I don't know the, I guess, the split of us who are maybe focused on more of the APIs or more of the admin work. And, uh, so this will be heavily geared towards admin work and, uh, automating some of the tasks that, that fall to, like, Tableau Server or Tableau Cloud admins, and, um, and how to start thinking about the what's, what's possible in using the APIs.
2:12 There are, um, many, many, many APIs now.
2:18 Um, I remember the first one that I knew of was Tableau Server Client before I knew anything about the REST API. And, um, they've just been growing.
2:31 I don't even know if, uh, Tableau Server Client…
2:35 I guess, which other ones were around, um, back then. That was about… I started looking and using APIs probably, let's see,
2:48 nine, about nine years ago. And, um, that was the first time I was m- an admin, uh, server admin for a whole, the whole organization, for all the users.
3:02 And there was… I just saw huge potential in automating things through, uh, the APIs, and that's actually how I started learning or why I started learning Python, was just so that I could understand, uh, Tableau Server Client.
3:19 And, um, so that's served me pretty well so far. Um, everything code-wise is a lot easier now.
3:30 Uh, so I kind of focus on
3:35 ideas and, um, like, solutions, different solutions, uh, for any number of problems that we come across with, um,
3:47 within, like, a, an environment, cloud or server. So
3:53 the…
3:56 We all… I don't…
3:58 I have a couple slides just on agents in general. Um,
4:04 so my objective is to, you know,
4:09 put information out there about the, what an agent is, um, why Tableau Ops, and I'm not… and, I mean, operational side of Tableau.
4:21 Um, so more of the ins and outs of the
4:29 running server environments and, and keeping end users happy with speed and, uh, fresh data.
4:39 Um, this way. So
4:45 this is kind of the, the loop of an agent. Um, it, it's gonna observe something, it's gonna make a decision, and take an action. So with…
4:58 One of the examples or one way to think about this is, uh, you, once an agent is running, you're not gonna be actively telling it what to do. Uh, so you give the agent a goal, boundaries, and, um, hopefully can trust their judgment in, in making the decision, uh, to improve your environment or monitor your environment.
5:28 The…
5:30 Here are, like, three different ways you might think of using APIs or just automation in general. So you can write a script.
5:38 Um, if you have a script, you're gonna have to set that up on some type of schedule. It's gotta run on a machine.
5:45 And, um, it just does one thing.
5:49 What you… It does the one thing you told it to do.
5:52 A chatbot like ChatGPT, uh, is more, you know, you prompt it and you get a response back.
6:00 And the, the agent is where we get to the point where it's actually- Making decisions and act, taking action on your behalf.
6:13 So attempting to take yourself out of the loop as much as possible where, where possible.
6:19 Obviously, with, uh, that, you know, it,
6:24 it's, um, imperative that we know what the agent is doing or even capable of, and that's why previously there was, um, a little part about boundaries and, um, making sure that since this agent will be taking action on your behalf to make sure it doesn't have, um, all of the, the rights that you might have in an environment.
6:51 So kinda guardrailing against, um, actions that you wouldn't want it to take alone, so.
6:59 The…
7:01 Another loop for, let me see.
7:07 It's kind of similar, so I'll skip that one.
7:12 Yeah, so we get into trust and, um, so a way to do more of the, you know, creating the boundaries and guardrails is think of, think of your agent as it is on, um, on a dial, as that first slide or box or card says. So autonomy isn't just on and off. You, you wanna look at it as, as, uh, as that it can be, um, set up,
7:50 um, at various levels, um, depending on any number of risk factors that are involved in, in what you need the agent to do.
8:01 Uh, so the guardrails are the boundaries that you set. Those can be set through permissions. Like if, uh, you're on Tableau Server, you can guard an agent against, um, potentially even just against anything in prod. You can, um, limit its access to certain functions. It could be read-only in, in which case it wouldn't be, uh… it wouldn't take action on the server, but it, it still an agent could…
8:33 an agent with read-only could take an action through Slack or through email or, or any other number of, uh, communication, um, technologies.
8:44 And also, like, one thing that I generally will do, you know, there are ways to, um, once you're… if you're testing an agent or setting one up for the first time, um, to set it up as the kind of in a, in a mock environment or, well, obviously in a sandbox environment, but also, um,
9:15 I try to set up the initial runs as what, what would this agent, agent do, and, and I get reports back on what it would do, not necessarily taking those actions.
9:28 Um, and then that way you can refine its, refine the guardrails, refine its instructions and understanding about, um, what it's trying to do.
9:40 So the… This is more talk. So this is, like, why Tableau Server or Cloud, why these environments are a good first use case for, um, for an agent. So the…
10:01 From what I found, like, using the APIs, it's like there's so much data that you can get now out of your, uh, Tableau environments or systems.
10:13 Um, even just with the, like, that single REST API.
10:19 Uh, even if you just learned or focused or had an agent that knew the REST API, there you can get so much.
10:26 Um, and then if you throw in the, I would say, like, the, um, Platform Data API that gives you all of the logs, activity logs, um, or the, like, VizQL Data Service API, you… there's just so much that you can get through the APIs. Um, so part of kind of figuring out how and what to automate is understanding just the various functions of the APIs in, in general.
11:01 Uh, and I, now I'm thinking I obviously should have had a, wish I would've had a slide on, on some of the higher level, uh, aspects of those APIs, but maybe something I can send out after this.
11:15 Um, so okay.
11:16 We have a lot of data that the agent can make use of, um, when there is an issue. I don't know if this is the same for everybody else, but it seems like, you know, you'll, you'll either have the same type of error, it's the same workbooks or the same users or the same data source that fails, um, constantly.
11:40 So since the failures are, are so re or can be so repetitive, uh, you know, that's a perfect…
11:48 those are per- perfect candidates for, uh, an agent because you can, you can teach it or, uh, since you know a specific thing happens so often, then, um, it's easier to kind of target that, uh, that error or failure and, and teach or give instructions to an agent to watch for that more closely and, and tell it exactly how to fix it Um, the other aspect of, like, a server environment is that, um, you know, there's a huge sense of urgency with a lot of the work that we do.
12:31 Uh, especially if we have just early morning reports that, uh, people are relying on first thing in the morning. Uh, and, and also a lot of times it's overnight that, that extracts can fail. So, um, there's an urgency in the morning. That's when a lot of… Anyway, in my, uh, case, a lot of reports are refreshing overnight. They're gonna be used first thing in the morning.
13:01 And, um, it's usually, or a lot of times it's a s- a smaller fix.
13:07 Um, but also a lot of times it, it takes that research, um, even if it's an easy fix, a lot of times it, you know, every alert or notification that you might receive needs, uh, to have attention. And generally you're, you're gonna, you know, start with the same set of, uh, steps that you always do with a, with a failure, unless it's so common that you know exactly where to go.
13:35 Um, but that to say a lot of times it's just an easy fix. Maybe it needs to be, like, a, a refresh failure, just needs to run again and it's, it's good on the next try. Or, you know, it could be something with credentials or something on the, the data source side. So a lot of ways that an agent can kind of be in, in this type of environment.
14:01 Um, so I'm going to share just what, uh, I've started thinking about, um, as an agent for any, like, Tableau Server environment.
14:18 This is just an agent I've been adding to or adding features to. I've plugged it into, uh… It's directly connected to the Claude or Anthropic API as well.
14:32 Uh, so even, even if there's something that I don't give the agent instructions on, it, uh, it can rely on the latest, um, language models to kind of direct it as to what, you know, where it might be needing to look for a solution and also, uh, how to, how to solve that.
14:58 So this is, is just a, a mock or sample report that an admin might see in the morning. You know, they might, um, log in and, and find that some of the data sources. This is heavily focused on, on data sources. There's a lot with permissions that can be done, um, and other content and, you know, uh, licensing and all of that. Uh, but this area is specific to the refresh failures.
15:34 So, uh, what I built into this is kind of like a score.
15:42 Um, if anyone is on, um, email distribution for, like, refresh failures, y- you know that it, you know, you, you get, you get an email, um, no matter what the, what the issue was. If there's a failure, then you receive an email.
16:02 Uh, and a lot of times that could be something simple. Um, and, and a lot of times you have so many of these that it just, you know, it's not even something that you rely on or, or look at anymore. I don't know if anyone else is like that, but, you know, I know a lot of times you, you even might set up a rule and those errors are just going to a random folder that you don't look at anymore.
16:30 So what, um, this agent is trying to do is to only alert the, the admin when, you know, there's, uh, like, a crucial failure or error. Um, and, and it tries to score those things. So, uh, there are four levels. What the time to view is like, we know that everyone opens this report or the da- the report that's connected to this data source, um, every morning at six AM or seven AM, and so this is a score on how close we are to that, that time.
17:11 Like, when is this gonna be used the most?
17:13 The fan out is, you know, how many workbooks might be connected to this, and who are the users that view that workbook the most? Um, obviously, if there are, you know, there are varying levels of, of necessity or, um, urgency depending on who in the company might be looking at that or who, which of your clients might be.
17:38 And so that covers, like, fan out and exposure.
17:43 Uh, trust is, like, how,
17:48 how, how well do we trust this agent to, um, you know, to find a solution?
17:56 Let me… Or s- the…
18:02 Trust is also, um, can be related more to, actually more to the, um, like, past history on a data source. So if, if this is one that we know has failed in the past and, and we haven't caught that as admins, as an admin- Um, then like the trust score, um, goes way up if, if it's something that our end users have, you know, questioned in the past.
18:38 So, um,
18:43 when I run this, then the, the scout's gonna go out and, and determine what issue there is. And, um, you know, like I said, there's a dial, and this happens. There's just, just be, it's not gonna take action without approval.
19:03 So if I approve it, it, it determined that there are, uh, for whatever reason, the credentials were lost or, uh, it's failing at the credential layer level. And, um, the action that it took was to, with, uh, like human intervention there approving that to change or update the credentials for a data source, um, then that failure moved down to, you know, there's zero risk on it.
19:34 Um, and then y- this is like scoring and classifying each of the incidents that need, uh, need attention at any given time, so.
19:47 Let's see. Oh, yeah. So like this one had four different, uh, dashboards, and, uh, it's saying when this alert came out, the peak view time, which was, you can see, is at ni- eight and nine AM, um, was two hours from when this was alerted, so part of the reason why the time to view was urgent on that one.
20:16 So yeah, I went over the heat score. That's just what I call it, the, like how urgent is it to fix this one issue.
20:23 Um, these are just some different levels of autonomy.
20:27 So you can have the agent, uh, watching and alerting.
20:33 Um, you can have it do, in addition to that, um, also start making recommendations even, even though it's not gonna take any action.
20:45 Um, learn, view and, um, alert and also recommend.
20:55 And then the highest level could be autopilot, where it's going to understand the issue, like, um, recognize the issue, understand it, have a recommendation, and also implement that recommendation.
21:14 This gets back to, like some of the other things I already covered, but the, kind of the different, along with the different l- uh, levels of autonomy, um, are there can be other guardrails in place, like I mentioned, just the, the, the roles that you give an agent or, um, or I guess the role that, let's say, if you're using the PAT, um, the roles that the, the owner of that PAT have will, uh, translate over to an agent if it's, if it's connecting or authenticating with, uh, PAT.
21:53 So you just have to be aware of, of its, um, kind of level of, of role in, in those instances.
22:04 Um, if you're using the JWT and connected apps, then it's more, uh, on the authentication when you're, you're assigning those, um, like the scope that that, uh, agent has access to. And, and so if, if I were recommending an authentication, I would always now focus on the connected app and, uh, the JWT, um, just because of the, like the level of scope that you can give an agent.
22:40 Um, you can get a lot more granular and, and focus on different areas.
22:45 So, um, connected apps are good.
22:50 Chris McClellan: Just while you were there, Paul was asking what a tier was.
22:54 I think you just mentioned it on the slide before.
22:57 Eric Summers: Uh, was it on the words or-
23:02 Chris McClellan: Going back another one, I think.
23:05 Go back, go back another slide. I thought there was something about tiers there maybe.
23:10 Eric Summers: Oh, tiers.
23:10 Chris McClellan: I didn't, I didn't see it on the slide, but you mentioned it.
23:15 Eric Summers: I think…
23:16 Chris McClellan: Is that what you were saying, Paul?
23:18 Paul Dickins: Hi. It was on the, when you talked about, you did the demo, and also it was on the next slide and, I think.
23:27 Yeah, it was on that one, the four section one.
23:31 Eric Summers: So kind of the different levels of autonomy?
23:35 Paul Dickins: Yeah, you said site, project, tier.
23:39 Eric Summers: Okay.
23:39 Paul Dickins: Owner.
23:41 Eric Summers: Um, or roles.
23:48 Kind of drawing a blank on what I said about that. But if it's, uh, if it's related to roles and, and guardrails, I guess then, um, then making sure you know what, um, depending on your authentication, um, style or, or method, then knowing what those, kinda like the guardrails that come from the different roles.
24:15 Paul Dickins: Yeah, you were talking about the scope, and you said the scope could be-
24:18 Eric Summers: Scope
24:18 Paul Dickins: … by site, by-
24:21 Eric Summers: Yeah. So-
24:22 Paul Dickins: By tier, by owner, that sort of thing.
24:26 Eric Summers: Yeah. So the, um, scope- Isn't really a method that I know of within the APIs directly. Um, 'cause generally, you know, you might be using the PAT and you get the… It's inherited from the user who created the PAT. But, uh, if you're looking at the connected app, then you create the…
24:56 It's JWT, I think you might even call it JWT, and I think I've heard it that way, JWT. But, um, with the JWT you can, like, you can… There are different levels of scope for each object type. So projects, um, I don't know if there's at the site level, probably. Uh, but projects for sure, data sources, flows, uh, workbooks, all of those have varying levels of, of scope that you can, you can direct if you're using, if you're using the, the JWT in the connected app.
25:38 It's a little, it's a lot more technical than just using the PAT, but it's kind of my, it's definitely my go-to now, uh, is to always use a connected app if, if it's something I'm using long term.
25:52 Um, for another one of the reasons is for the, like, continuity of, of the connected app and, um, and not having to recycle or, or rotate your credentials.
26:09 Like with the PAT, uh, having the max three sixty or three sixty five days.
26:16 Um, with the connected app, you don't have to worry about a PAT expiring. So for those reasons, it's my, my go-to authentication method now.
26:30 Um,
26:33 hopefully that answered some of your question.
26:36 Okay. So yeah, overall, um,
26:43 I think the…
26:44 If you're just getting into, uh, this type of development or interested in it, the best thing to do is to look at the, the various APIs. Let me see if I got it listed up yet.
26:58 Um, because understanding what the capabilities of are for each API, um, that's, that's gonna be the way you can understand, like, the solutions that you can build.
27:14 And, uh, many times I've been building with Claude and, um, you know, Claude will suggest, uh, some function from, from some API and I'll, I'll know that that function doesn't exist.
27:31 Um, so it's just good to understand the– 'cause sometimes, you know, if you get errors, it, it can be a, a runaround with, with, uh, Claude or any of the other, uh, models. The, um, while you're trying to troubleshoot and, and not realizing that it's, it's just, uh, purely like functionality of a, a given technology or, um, or one of these libraries, API libraries.
28:00 So, uh, I think like overall, just understand the APIs that are available and, and what each of them can do is really, really key in this.
28:11 Um,
28:14 starting to, you know, not just, not automate something necessarily, but like get into one of the, the APIs. I would, I guess, sug-suggest the Tableau Server client first, um, because it's a, what I would call a simplified version of the REST API.
28:35 And, um, just run, run a query or build, uh, build a script that does something simple like pulls your, your users, um, and, and their permissions or… Sorry, don't, I wouldn't get into permissions right away, but, um, maybe pulls their, uh, their license role.
28:57 Um, things like that. Or, you know, the content that they own.
29:02 Um, just start playing around with some of the functionality of, of these APIs.
29:08 The,
29:11 um… Yeah. And as you, you start to potentially build automation or, or even into getting into building an agent, um, you know, let it start out slow. Um, and there, there are prompts you can…
29:28 Kinda like if you, if you hit a roadblock with some function that the agent isn't understanding, um, you know, making sure that after, after you are able to get over that roadblock to, um, to have your agent or model like build, build into its memory, um, that solution so that it doesn't get caught up on anything like that in the future.
29:56 And that's kind of how I build now is, um, you know, I– there are always a number of issues that you might run into when you're putting a script or an agent together.
30:07 Um, but I, I try to focus on, uh, improving it and, and making sure that the things that you improve are, are stored and, um, and kind of in, in that agent, uh, in their, in their memory, uh, so that you're not wasting time on that in the future or, or potentially, um, taking action in error. So.
30:36 That is all I have. Um, if there are any questions then let me know. I'll look at the chat too.
30:44 Chris McClellan: Yeah. Gimhani was just saying, um, that you commented that you were learning Python, and that was part of the push towards this as well, and can you give her some guidance on how to learn Python?
30:57 Eric Summers: Yeah.
30:58 When it comes to, like, specific
31:02 resources, um,
31:06 I guess I won't… I, I would look at…
31:10 I would, I would actually… There, you know, there are a number of, um, you know, Python courses that are specific to analysts, so I would focus on those, uh, whether they're on LinkedIn Learning or, uh, some of the other, uh, course creators that are on LinkedIn.
31:34 But definitely I would just start small and, and, like, first look through the, um…
31:45 Like when I s- one of the key things is to just look through the, the APIs and understand the functions and the things that they can do, and find one, find a function that you're interested in that you know will help your, your day-to-day life, and, um, build, build that first.
32:06 Um, it wasn't, you know… It– I wanted to learn Python because I wanted to automate.
32:13 The, the first time I was a server admin, uh, I was kind of, I was tasked, one of my responsibilities was just the, the deployment process, and we had 60 clients that all had the same, uh, you know, it was a standardized workbook for 60 clients on 60 sites, and they… But they obviously, being on, on different sites, needed to have a, a change just to their data source.
32:52 So that was like my first, um, challenge or, or goal, was to figure out how to automate that publishing process and, um, you know, at the same time be able to change that data source within the workbook or somewhere, um, the connection, uh, s- stream, whether that was within the, um, the XML or, or through one of the connection…
33:24 I'm not remember, but I, I believe there's, uh, a method for swapping out a connection, but it also might just be swapping out credentials, so don't quote me on that one. But basically, um, yeah, find something that you're really, that will help save you time, and build towards that first. Um, and-
33:44 Chris McClellan: Yeah, but that's kind of-
33:46 Eric Summers: I, I just, uh, kind of jumped into the, the code, not really, uh, maybe understanding how Python worked specifically, but that it could do, like, some good things for me, so.
34:03 Chris McClellan: But that's one way of tackling it, is have a problem you're trying to solve and, and you're almost sort of working backwards, but because it's something you're interested in, it's easier to do it as well.
34:15 Eric Summers: Yeah. It's just easier to stay focused or, or motivated to get it done.
34:22 Chris McClellan: Yeah, for sure.
34:24 And Brian said, "Is there any agent-to-agent functionality?"
34:31 Eric Summers: It's definitely possible. I… There…
34:36 I think a specific example. I… So I think what I see a lot of now is rather than having an agent that does one or, like, covers a lot of different, um, things, like I, the one I was showing does do that, it's kind of a universal agent, it, it can go and do a lot of different things. Um, I think the, the trend now is more towards small agents, so
35:08 building, um, building a smaller agent that just really understands and can do one thing, and then building those out to, you know, every, potentially each of the different areas that you, you might have focus on.
35:26 Um, and, and then even having one level above that, like having, you need to have an agent that's, like, orchestrating or, um, directing all of the smaller agents.
35:42 So that's one…
35:44 That's, I guess, a,
35:47 a format or, or method I, I see a lot of right now, is, um, is those smaller agents but they're also directed by another agent, so.
35:59 Thanks for your question.
36:03 Chris McClellan: And, and Andy was asking how extensible is this for multiple sites? So as a consultant, he's got client sites that are cloud sites to manage, and would it be possible to build something that pulls everything together from multiple sites rather than having to look at one at a time?
36:20 Eric Summers: Yeah, definitely. The, um…
36:25 Yeah, you could have, potentially you could loop through authentication or, um, another, just like this smaller agent, you could have an agent that's dedicated to a site and then have those come together into one- Uh, one data source or, you know, one repository of information about that, about all of the sites where you, you know, you just have one, one agent that's authenticated for one site at a time.
36:54 Um, so yeah, definitely possible.
37:00 Um,
37:03 and also, like the agent that I showed I have running in a different instance, it's, uh, it's connected at like the, the cloud manager level for a cloud, uh, site.
37:18 And so it's managing, um, five different sites, uh, just because it's, it's authenticating at the, the cloud manager level.
37:31 Chris McClellan: And you-
37:32 Eric Summers: But now that I'm saying about it, I'm, I'm thinking about how to build smaller agents.
37:37 I wanna try that now.
37:41 Chris McClellan: And then does that mean that there's one JWT that handles the authentication over multiple sites, or you just need multiple tokens as well?
37:50 Eric Summers: The JWT, so this is like new, newer.
37:55 Um, so if anybody knows better, then please let me know. But the… So the JWT is per site.
38:05 Chris McClellan: Mm-hmm.
38:05 Eric Summers: Uh, but there's a universal…
38:10 So PAT is like personal authentication token. There's now a universal authentication token that you can set up at the cloud manager level, um, which would be for server, like at the server level.
38:23 I don't know that that exists on server, but for cloud you can have, uh, that access token that will, um, you know, that you can manage the multiple sites with.
38:38 So, um, but I don't know if there's… I haven't actually looked into that, if there's a connected app or JWT that you can set up more at the cloud manager level. I don't know that.
38:54 Chris McClellan: No, that's cool. I, I don't know either. It was that was more r- my question as well.
38:59 Um, and Paul was saying it's very useful to be able to admin Tableau Server, Tableau Server Client… Sorry.
39:06 Said, "This is very useful to be able to admin Tableau Server and Tableau Server Client as an API. What is a good resource for this? And also there's tabcmd."
39:17 Eric Summers: Yeah, tabcmd. So, uh, tabcmd just being dedicated to, to server. Um, but yeah, it does have within tabcmd, you've got a lot of the functionality.
39:31 And, and that can be easier to automate because, um, I think
39:38 the functions all run out of the terminal, and so you don't have to have necessarily a, a server running Python with, um, with scheduled scripts. You can, you know, you can have a BAT that is set up on Windows and, and can run your tabcmd.
39:57 Uh, you can do that with Python, but, um, tabcmd is, won't work on cloud. But for resources on either of those, if you go to the repository for Tableau Server Client, if you just look up GitHub, this is basically where I learned, um,
40:21 is, is going to the repository and reading the docu- documentation there and also, uh, um, just looking at grabbing the examples. A lot of the examples cover the things that you, uh, you might want to be or things that you're gonna be doing,
40:42 so.
40:45 Chris McClellan: Yep. I, I just put that link in the chat for the, for that Python library as well.
40:50 But yeah, you… A lot of the times you've just gotta read through the documentation and just learn that way.
40:55 Eric Summers: And I think-
40:57 Chris McClellan: And then-
40:58 Eric Summers: The…
41:01 I think some of the documentation can be out of date.
41:04 Obviously, there's a lot of maintenance that w- that has to be done.
41:09 Um, so
41:12 the… I will say for sure if you aren't on, there's a Slack channel, DataDev Slack channel.
41:20 Um, highly recommend getting on there because if you, you know, if you even follow the examples in the, the repository, um, and you run into errors, even if you're following them to a T, um, and there are, are a lot of people on, um, the DataDev Slack channel that, that could help you get, get over any, any error that you're finding, um, and put, or put you in touch with the right people to do that, so.
41:55 Chris McClellan: I'm sorry, I missed that.
41:56 Eric Summers: Being on that one.
41:57 Chris McClellan: Sorry I missed that, Eric. What was the Slack channel?
42:00 Eric Summers: Yeah. It's DataDev.
42:03 Chris McClellan: Is it a Slack workspace just for DataDev, I think?
42:06 Eric Summers: Yes.
42:08 So there's like a Tableau user, and I would also recommend being on that one. There's a Tableau user Slack channel, and then there's the, the DataDev as well.
42:23 I'm gonna look. I, I might be able to just pull it directly from Slack.
42:30 Chris McClellan: I think it was at Paul. I've just dropped that in the chat as well, the invite to the DataDev Slack.
42:37 Eric Summers: Yeah. It's nice on there.
42:40 All the APIs are, you know, have their own channel as well. So you'll have people, experts in, in each of those that are kind of monitoring- Good information, good resources there, for sure.
42:52 Thanks for getting those links, Chris.
42:55 Chris McClellan: No, that's okay.
42:56 Um, and Venkata was saying, "What does TableauOps.com do? It looks really cool, but not sure how we Tableau admins use it for." I don't know if you were sort of trying to skip over it or not, but do you wanna talk about what TableauOps.com actually does?
43:10 Eric Summers: Yeah, let me… I'll cover that.
43:14 Um, so the demo I did was on TableauOps.com.
43:19 Um, but it's kind of, it's growing into a lot of different areas. The main part of it that, that I was at, um, it… I just refer to as Scout, and, and that one's solely set up to, uh, it'll take your encrypted, uh, credentials or PAT and, uh, you know, you can set up an agent through, uh, through Scout to run on your, on your site.
43:50 And, um, just like I talked about the, the varying levels of autonomy, you can, you can assign it, uh, different levels of au- autonomy. So basically, it's a out-of-the-box agent for, um, for your site monitoring and, and fixing.
44:09 Um,
44:12 and but what it's also growing into is, is there are…
44:16 One of the, like the, the hackathon project that I did was more around, um, collaborating on workbooks, being able to have more of a, a Git style, uh, development cycle with, with a team.
44:36 And this is just all information about the agent, how it's set up, what it can do.
44:42 Um, let's see. I've also got a lot of content going for, uh, blog posts. There I'll usually cover… Right now, I'm doing a lot with extensions, so all of my content is kind of centered around that.
45:01 These posts. Um, and then I do other little random things like, they're not quite blog posts, but just tips. So those are, those are here.
45:14 Uh, sometimes I'll put a whole script in.
45:18 Um, so this one is using the, uh, VizQL data service, and,
45:28 and this can be run like through either through your GraphQL right in cloud or, or you can code it into some Python.
45:39 The other thing that it's growing into also is like a…
45:45 I had started, I had actually started this site as a, a teaching, um, platform for all of the APIs, but then I got away from that, and now I'm kind of building it again. But, um, learn.TableauOps.com will get you here, and this…
46:05 Well, I guess I should have answered your question with you should learn Python and APIs here.
46:11 But, um, the…
46:14 Yeah, so this is just gonna take you through some lessons, um, where you're actually looking at the code and what that, um, what that function can do.
46:27 Uh, the older version of this I had actually wired up to a cloud site, and so you would run the functions, but I haven't gotten this to that point yet.
46:36 Um, so lesson…
46:38 Whoa, it's broken. Sorry.
46:42 Um, the…
46:45 I wonder if any of these will run. No.
46:48 Got some work to do there.
46:50 Um,
46:53 basically each lesson is gonna have a kind of a, a goal, um, and it will, it will walk you through all the code that you need to know and understand to, to like reach that.
47:06 If this is, um… So like this one is just about data source management.
47:12 Um, so it would be monitoring refresh jobs, data source types, uh, visits to a data source, connections, and, uh, or publishing, even extracting, working with the hypers. So that's all.
47:30 I'm trying to build this out on the learn sub-domain.
47:35 Um,
47:38 so eventually I'll have all of these covered.
47:41 The… So I'm just starting with the Tableau Server client.
47:47 Then I also have…
47:51 Oh, this one's…
47:52 I like this one. Um, so let me know in the chat if anyone is using extensions yet by chance or, or wants to, or… So we're talking about like viz extensions or dashboard extensions. Dashboard extensions being the, um, couple years old or older.
48:14 I think viz extensions have been out for a couple years now.
48:18 But it's like LaDataViz who make the, um, uh, Tristan and, um, I'm spacing on her name. But anyway, their, their company who focuses on the viz extensions are, that are kind of, or very custom elements that you can now put within your, your Tableau environment.
48:43 Um, so what this s- one of the h- big hurdles with doing that is you have to host some web- Web files, so like your HTML, your JavaScript, all have to be hosted somewhere that cloud or server can connect to.
48:59 So I built this to provide, um, like a, a public host.
49:04 Well, it doesn't have to be public, but an easy host that's specific just to extensions.
49:11 Um, you just drop your full, your whole project, your extension pro- project here in it.
49:18 It knows how to get through the whole project and, like, which elements need to be where, and then you have the, the .trex that you're actually, uh, connecting to within, um, Tableau Desktop.
49:32 So this is one I'm just starting to test with a couple people, but, um, if any, if any of these are interesting, then let me know. I'll, I'll just get you guys… They're all practically in, like, beta or early release, so.
49:51 So yeah, Tableau Ops. It's… It basically, you know, how do you opera- operationalize Tableau as an admin, um, and how do you make things consistent? How do you, how do you know as an admin, um, like when there's X error, you should know exactly the steps that you need to take to, to correct that. So a lot of, uh, Tableau Ops is about that, like, being consistent and knowing, uh, knowing the solution to any, any, um, failure or problems that, that comes up, so.
50:32 Chris McClellan: A lot of it looks like being proactive as well. You know, if there's a… As you said, if there's a problem occurs at 5:00 AM in the morning, can an agent fix that before anyone knows or if anyone's awake to deal with it after that?
50:46 Eric Summers: Yeah. That's what, that's what I'm hoping, is that you, uh, you wake up to a notification, but it's, you know, the notification is that there was a failure and it's fixed, and you're good to go about your day without any stress.
51:04 So yeah, that's the goal.
51:07 Chris McClellan: Yeah. As Andy said, you don't want your users telling you that there's a problem. You wanna know what the problem is before then.
51:13 Eric Summers: Yeah. That's the worst, but it, I, um, it happens, for sure.
51:19 Chris McClellan: Okay. That's awesome. We'll move on.
51:22 Uh, there's all Eric's contact details. So again, Tableau Public, LinkedIn. He posts a lot of stuff on LinkedIn, which is where I sort of started to be curious about what he was doing as well, and obviously TableauOps.com if you want to look at that service or use those things more.
51:40 Uh, and survey time. So for people who haven't seen the survey link in the chat, um, I don't know if we need three minutes, but I'll start the clock at three minutes anyway.
51:51 Uh, but it's a, just a nice fun survey to help sort of see who's in the chat and things like that, who's in the group, of where you live, how long you've been using Tableau, what industry do you work for, and then there's five questions for today about APIs, and then there's those trick questions at the e- at the end of, um, what would you like to see presented at the TUG, and who would you like to see present at the TUG.
52:18 Eric Summers: The other thing I didn't mention, and then I'll, I'll just say while we're having the survey go, but the, um, another really nice feature or functionality now is the Tableau MCP, because you can kind of embed the understanding that the Tableau MCP has about your, about your environment or your site that it's connected to, um, and then build, like, build anything from the APIs around, around that.
52:53 Um, so I use the… I use Tableau MCP frequently.
53:00 Um-
53:00 Chris McClellan: Mm-hmm
53:00 Eric Summers: …
53:01 but I w- I, that, I actually put that topic, and I know it's covered, I know it's covered a lot, but, like, seeing all the, you know, different ways and new ways that people are using the MCP.
53:13 So that was one of my topics that I could use more.
53:18 Chris McClellan: Yeah. Yeah, definitely.
53:20 And, and I think all of it, like, it's evolving so quickly that you need to be, you know, sometimes, you know, just playing around with the s- with the stuff to try and keep up with it as technology evolves or as AI, as AI evolves. It's pretty fast these days.
53:36 Gimhani, I can see your hand raised if you want to, mm-hmm.
53:40 Gimhani Perera: Uh, small question, Eric. Is MCP refers to model context protocol?
53:47 Chris McClellan: Yes, definitely.
53:48 Okay. So I assume everyone's done the quiz by now, but where do you live? There's always a variety of places. So, um, you know, pretty amazing when we can stretch from the US to Australia to Sri Lanka and Egypt, but they didn't answer the question, all on the same call. Um, pretty good. And Vancouver in there as well, so that's what, what? Four countries?
54:11 Five countries?
54:13 Um, how many years have you been using Tableau? A nice big stretch, but obviously a lot of people leaning on the nine plus today, but this graph changes every time. It just depends on how long you've been, have you been using Tableau for.
54:27 And what industry do you work in? So there's a variety of industr- industries, which is why I always put this up here, is just Tableau can be used for anything. It, um, it depends if you've got the data really.
54:41 And even though we're not stri- stro- scoring the quiz and there's no prizes, it's just a few different, um, questions all generated by AI, but I checked the answers to make sure they were right. So everyone got this question right, which is good.
54:56 And then everyone gets the next question right except for two people, but that's okay because they might have learned something from there as well.
55:05 And everyone knew it was the Tableau Server REST API to manage users and groups.
55:11 And again, for managing server settings and configurations. I was a little bit worried when the question changed, but the answers were the same. So that's good. And someone's still answering now, which is even better.
55:24 And the purpose of the sign-in endpoint is obviously you need to authenticate yourself against the API, Eric mentioned that as well, before you can actually use the API.
55:33 So you've always got to authenticate yourself first and then go off and do something else.
55:39 And what topics should be covered? Uh, so someone says composable data sources deep dive. Okay. Think about that for a few seconds more, but next week is a good answer.
55:50 Um, different journeys of members, extensions, more Tableau MCP, and Tableau versus AI.
55:57 All interesting topics. We'll see, um, about getting those in the schedule.
56:02 And who would you like to see present? So local users. Local's hard, right? Where, where is local? It's a worldwide group. That's right.
56:10 Um, and, and I need to talk to Jen, Lewis, and Michelle about being on. Okay. That's cool. That's what it's for.
56:19 Um, but as far as the quiz is concerned, uh, again, not that it matters, but, uh, a lot of people got it right and a few people tailed off at the end. Um, and that may be because they were still answering the questions as we go. I'm not sure. It doesn't matter. It's all just here for a little bit of fun, so that's fine.
56:37 But congratulations, Andy and Gimhani at the top.
56:41 Um, but if everyone got five, then it- why is Andy first? It's just sorting in that way. That's fine.
56:48 Alphabetical order. Exactly. Al- always win on alphabetical order.
56:53 Well, I, I need to then sort it and go, is it based on the time that you took to respond? Because maybe that's not fair either.
57:00 Um, so if you want to submit questions for the quiz, no one's done this yet, but the quiz thing's only been working for a few weeks, is again, scan the QR code or use that link, or just ask me on any socials and I'll, I'll redirect you to that as well.
57:14 Um, but, but all those questions today are AI generated. I just make sure the answers are right because sometimes the answers are not quite right. The next TUG meeting is almost this time next week.
57:27 Uh, Kirk and Will talking about composable data sources finally, which was the name of their TC '26 talk when, when composable data sources were going to come out soon, and now they're out. So I don't know how much they're gonna change their presentation. Um, I know Kirk's like madly wanting to change the presentation to discuss the very latest changes and the very latest features in composable data sources, but it'll be good just to see that, to see what it is and how to use it properly.
57:59 Again, one meeting all those times, um, because those guys are based in the US, it's US friendly.
58:06 Uh, if you're in Europe or sort of heading that way, um, it's really nice if you turn up. Like I, I'm, I'm really grateful when people wake up at 2:00 AM or at 5, 5:00 AM to at- to attend a meeting. You don't have to do that. You can actually just watch the recordings on YouTube.
58:23 YouTube at Team Data Fam is where all the recordings are for this TUG and a whole heap of other TUGs. Just go on there at any time. Um, even if you're not at a computer, listen to the podcast on Spotify and Apple, and I do that a lot to, to listen to things and you know what to come back to and, and see and, and watch when you're watching on, on YouTube.
58:44 Um, and if there's anything you need to email me about, team.DataFam@Gmail.com.
58:51 But that's it for today. Um, thank you, Eric, for that. It was awesome to see what you've been doing. I know you've been playing around and getting deeper for a while and, um, a- and it's good to see what happens with APIs and Tableau on that admin ops type side as well.
59:08 Eric Summers: Yep. Thanks for having me. It's fun.
59:10 Chris McClellan: Awesome.
59:12 Okay.
59:13 Thanks, guys. Feel free to unmute and chat, but, uh, that's the end of the, the official meeting for today.
59:18 Cool. Thanks, Eric. Thanks, Chris.
59:20 Eric Summers: Yep. Thanks a lot.
59:21 Chris McClellan: Thank you.
59:21 Eric Summers: See ya.
59:22 Chris McClellan: Thanks, you two. See you next time.
59:24 See ya, Ann.
59:25 Eric Summers: Bye.
59:25 Thank you. Thanks a lot, people.