<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Thanos Karachalios on Medium]]></title>
        <description><![CDATA[Stories by Thanos Karachalios on Medium]]></description>
        <link>https://medium.com/@athan.karachalios?source=rss-5f0c76846cba------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sgYpFJBlPYt90dxLaZDhjQ.jpeg</url>
            <title>Stories by Thanos Karachalios on Medium</title>
            <link>https://medium.com/@athan.karachalios?source=rss-5f0c76846cba------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:44:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@athan.karachalios/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From storefront to single pane of glass: how I connected Shopify to Grafana Cloud]]></title>
            <link>https://medium.com/grafana-labs/from-storefront-to-single-pane-of-glass-how-i-connected-shopify-to-grafana-cloud-6fda75edc842?source=rss-5f0c76846cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/6fda75edc842</guid>
            <category><![CDATA[shopify]]></category>
            <category><![CDATA[grafana]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[observability]]></category>
            <dc:creator><![CDATA[Thanos Karachalios]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 14:04:33 GMT</pubDate>
            <atom:updated>2026-08-11T20:04:03.581Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Orders, revenue, customers, and fulfillment — visualized in Grafana, refreshing on their own.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zyGu9fPfLFiUjHpqwHS1rw.png" /></figure><p>As someone who runs a <a href="https://althaea.eu/">small skincare business</a> on the side, I love Shopify. It’s so easy to set up an online marketplace, choose your theme, and access all the tools to make this work for you.</p><p>You have all you need in a single place, from inventory management and checkout services to marketing orchestration and store analytics. And as your business grows, the Shopify app ecosystem becomes more complex, making optimization and prompt issue resolution key to the performance of your business.</p><p>Like many people, my relationship with store analytics used to live entirely inside one dashboard: the one Shopify gives you. And to be fair, it’s a good dashboard. But I hit a wall the moment I wanted to see my orders next to something else, whether that was my ad spend, Google Maps requests, or the uptime of laboratory machinery I run on the side. In addition, many stakeholders in a business are not keen on visiting various software platforms, and they want to have just a birds-eye view of key metrics and processes from a shared screen.</p><p>I already use <a href="https://grafana.com/products/cloud/">Grafana Cloud</a> to keep an eye on everything about the business (inventory room’s temperature and moisture, uptime of emulsifiers, etc.), so the question was: C<strong>ould I just pull Shopify in there too, and finally get one screen that tells the whole story?</strong></p><p>Short answer: Yes. But the journey had a couple of plot twists worth sharing, because if you go down this road you’ll hit the exact same ones — and I’d love to save you an hour of squinting at Shopify’s developer docs.</p><h3>Why did I want it?</h3><p>Shopify’s native reports do a beautiful job of telling me how my store is doing. What I was missing was information on how my store was doing <strong>compared to, and in the context of, everything else I cared about</strong>. That’s the gap Grafana Cloud fills:</p><ul><li><strong>One pane of glass.</strong> Orders and revenue sitting on the same board as your infrastructure metrics, marketing data, and logs. No more tab-hopping in the browser.</li><li><strong>My layout.</strong> Want average order value as a big green stat tile next to a table of unfulfilled orders sorted by age? Grafana doesn’t care that those two things come from different corners of Shopify’s API — you compose the view <em>you</em> want.</li><li><strong>Alerting.</strong> This is so valuable. Grafana can ping you when revenue drops off a threshold, when unfulfilled orders pile up, or when your checkout service is not working.</li><li><strong>It’s yours.</strong> Export it, share it, template it, embed it on demand. It’s just a dashboard.</li></ul><h3>Choosing a data source: to Infinity and beyond</h3><p>The first thing I learned is that there’s no official “Shopify” data source for Grafana. For a second that felt like a dead end, but then I remembered the <a href="https://grafana.com/grafana/plugins/yesoreyeram-infinity-datasource/"><strong>Infinity data source</strong></a>. Infinity is a wonderfully pragmatic plugin: point it at any JSON, CSV, GraphQL, or REST endpoint and it’ll turn the response into rows and columns Grafana can chart. Shopify has a rich API and Infinity speaks API.</p><p>To install it in Grafana Cloud: <strong>Connections → Add new connection → Infinity → Install.</strong></p><p>Note: A quick but important point on <em>which</em> Shopify API to use. Shopify has two Admin APIs: the older REST one and a newer GraphQL one. As of 2025, Shopify froze the REST Admin API as legacy and <a href="https://shopify.dev/docs/apps/build/graphql/migrate/learn-how">made GraphQL the path forward for all new apps</a>. So we’re going GraphQL. Infinity handles it happily; it’s just a POST with a query in the body.</p><h3>The token saga (the part that nearly got me)</h3><p>Here’s where the plot thickens. To read data from your store, Shopify needs to trust you, and that trust comes in the form of an <strong>access token</strong> you send with every request in a header called X-Shopify-Access-Token.</p><p>Getting that token used to be simple. It has recently become … an adventure. Let me walk you through the process I went through so the adventure is a shorter one for you.</p><p>I headed to Shopify’s <strong>Dev Dashboard</strong>, created an app called grafana-analytics, and gave it a set of read-only permission scopes:</p><pre>read_orders, read_customers, read_products, read_fulfillments, read_inventory</pre><p>(Little gotcha #1: the scopes field wants a clean comma-separated list. I got a cheerful red “contains invalid scopes” in my first try. Use the <strong>Select scopes</strong> picker if you want to avoid typos.)</p><p>Then I went hunting for my token. And I found … a <strong>Client ID</strong> and a <strong>Secret</strong> that starts with shpss_. But everything online said I needed a token that starts with shpat_. Where was it?</p><p><strong>This is gotcha #2.</strong> Shopify has two kinds of apps:</p><ul><li><strong>Custom apps</strong> created inside your store admin (<strong>Settings</strong> → <strong>Apps</strong> → <strong>Develop apps</strong>) hand you a permanent shpat_ token with a “Reveal once” button.</li><li><strong>Dev Dashboard apps</strong> — the flow I was in — use OAuth. They give you a Client ID + Secret and expect you to <em>exchange</em> those for a token programmatically. There is no static shpat_ sitting on a page to copy.</li></ul><p>If your store shows the “Develop apps” option, use it — it’s the shortest path. Mine didn’t (newer stores are increasingly Dev-Dashboard-only), so I embraced the OAuth route. It turns out to be a single API call. The <strong>client credentials grant</strong>:</p><pre>curl -X POST &quot;https://YOUR-STORE.myshopify.com/admin/oauth/access_token&quot; \<br>  -H &quot;Content-Type: application/x-www-form-urlencoded&quot; \<br>  -d &quot;grant_type=client_credentials&quot; \<br>  -d &quot;client_id=YOUR_CLIENT_ID&quot; \<br>  -d &quot;client_secret=YOUR_SECRET&quot;</pre><p>Run that, and the JSON response contains an access_token — a real shpat_ — which is exactly what Infinity needs.</p><p>Except … <strong>gotcha #3:</strong> that token expires in 24 hours. Great for a quick test. Useless for a dashboard I want to glance at next Tuesday. Hardcode it and your board goes dark by tomorrow.</p><h3>Teaching the token to refresh itself</h3><p>I had two options. I could set a daily reminder to re-run a curl command or I could automate it. I chose the latter.</p><p>The plan: a small script that runs on a schedule, does two things, and goes back to sleep.</p><ol><li><strong>Get a fresh token</strong> from Shopify using the client credentials call above.</li><li><strong>Write that token into the Grafana data source</strong> using Grafana’s own HTTP API.</li></ol><p>That second step is the neat trick. Grafana Cloud has a REST API, and you can update a data source’s stored credentials with a PUT request. So the script fetches the data source config, drops the fresh token into the secure field Infinity reads, and saves it back. The dashboard never knows anything has changed — it just keeps working.</p><p>The heart of it looks like this:</p><pre># 1. Fresh token from Shopify<br>token=$(curl -sf -X POST &quot;https://$SHOP_DOMAIN/admin/oauth/access_token&quot; \<br>  -d &quot;grant_type=client_credentials&quot; \<br>  -d &quot;client_id=$SHOPIFY_CLIENT_ID&quot; \<br>  -d &quot;client_secret=$SHOPIFY_CLIENT_SECRET&quot; | jq -r &#39;.access_token&#39;)<br><br># 2. Read the current data source, inject the token, PUT it back<br>ds=$(curl -sf -H &quot;Authorization: Bearer $GRAFANA_SA_TOKEN&quot; \<br>  &quot;$GRAFANA_URL/api/datasources/uid/$GRAFANA_DS_UID&quot;)<br><br>body=$(echo &quot;$ds&quot; | jq --arg t &quot;$token&quot; \<br>  &#39;del(.secureJsonFields, .readOnly) | .secureJsonData = { apiKeyValue: $t }&#39;)<br><br>curl -sf -X PUT -H &quot;Authorization: Bearer $GRAFANA_SA_TOKEN&quot; \<br>  -H &quot;Content-Type: application/json&quot; \<br>  &quot;$GRAFANA_URL/api/datasources/uid/$GRAFANA_DS_UID&quot; -d &quot;$body&quot;</pre><p>To authenticate against Grafana’s API you create a <strong>service account</strong> and generate a token for it. And this is where I stubbed my toe on <strong>gotcha #4</strong>. My first run cheerfully printed “Done,” but the token never actually landed. When I inspected the data source, the credential field was empty.</p><p>The culprit? My service account had the <strong>Editor</strong> role, which can <em>read</em> data sources but not <em>write</em> them. The Grafana API told me so, once I bothered to print the response:</p><pre>PUT HTTP 403<br>&quot;Permissions needed: datasources:write&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsEjVoaDiI7-wZ1ncRSMvQ.png" /></figure><p>Bumping the service account to <strong>Admin</strong> (or granting the “Data sources writer” role, if you like least privilege) fixed it instantly:</p><pre>PUT HTTP 200<br>secureJsonFields now: {&quot;apiKeyValue&quot;:true}<br>Done.</pre><p>That apiKeyValue:true is the sweetest two words in this whole post.</p><p>The last piece is scheduling. I haven’t implemented it yet by the time of writing this post, but you could drop the script into a <strong>GitHub Actions</strong> workflow on a cron: “0 */12 * * *” schedule: every 12 hours, comfortably inside the 24-hour token window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wyx9Nww3Ky3GJmyQOxhrMA.png" /></figure><h3>Actually looking at the data</h3><p>With auth finally behaving, the fun part took about 10 minutes. In Infinity, a query is just a GraphQL body pointed at your store’s endpoint (https://YOUR-STORE.myshopify.com/admin/api/2026–07/graphql.json). Here’s the one behind my orders panel:</p><pre>{<br>  orders(first: 250, sortKey: CREATED_AT, reverse: true) {<br>    edges { node {<br>      name<br>      createdAt<br>      displayFulfillmentStatus<br>      currentTotalPriceSet { shopMoney { amount } }<br>      customer { displayName }<br>    } }<br>  }<br>}</pre><p>Shopify returns nested JSON (everything lives under edges → node), so in Infinity you set the <strong>root selector</strong> to data.orders.edges and then map the fields you want to columns:node.createdAt as a timestamp, node.currentTotalPriceSet.shopMoney.amount as a number, and so on.</p><p>If wrangling those selectors feels fiddly, <a href="https://grafana.com/products/cloud/ai-assistant/"><strong>Grafana Assistant</strong></a>, a purpose-built LLM for Grafana, is genuinely good at writing them for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ACoK8Dv2ifECsd5wddXqnQ.png" /></figure><p>From those handful of queries I built a board with:</p><ul><li><strong>Stat tiles</strong> for total orders, total revenue, and average order value</li><li>A <strong>time series</strong> of revenue per order, so spikes and quiet days jump out</li><li>A <strong>table</strong> of recent orders with payment and fulfillment status; my “what needs attention today” panel</li><li>A <strong>top customers by spend</strong> table, straight from Shopify’s customers connection with its handy amountSpent field</li><li>A <strong>products</strong> table for inventory at a glance</li></ul><p>One honest limitation worth flagging: Infinity pulls up to 250 orders per request, and aggregation happens client-side in Grafana. For a live “how are we doing lately” view, that’s perfect. If you want <em>true</em> best-sellers-by-revenue across two years of history, that’s the point where you’d add cursor pagination or pipe Shopify into a proper data warehouse and point Grafana at that instead.</p><h3>So what did I learn?</h3><p>A few things, actually.</p><p>First, that “there’s no official plugin” is rarely the end of the story in Grafana. Infinity turned a REST/GraphQL API into charts without me writing a backend.</p><p>Second, authentication is usually where these integrations live or die. The Shopify token journey (Dev Dashboard vs. custom app, shpss_ vs. shpat_, the 24-hour expiry, the service-account permissions) consumed most of my time. But once I understood <em>why</em> each piece existed, automating it was straightforward.</p><p>And third, the thing I set out to prove: my store’s performance lives in more places than Shopify Analytics dashboards. Orders, revenue, and customers now sit on the surface as everything else I watch.</p><p>If you run a Shopify store and already love Grafana, I can’t recommend this enough.</p><p><strong>I kept the best for last:</strong> Having hands-on experience is invaluable because it gives you a much better understanding of how things work. But sometimes you’ve already built this experience and you aim for faster resolution of tasks. That is why myself and others on the data visualization team at Grafana Labs have developed and tested new skills, generalized on the lessons learned above, that works behind the scenes in Grafana Assistant to help you connect any API-based data source incredibly fast. Of course you will still need to provide your auth credentials, but now you know how; at least for Shopify.</p><p><em>To learn more about visualizing business processes and workflows in Grafana, check out </em><a href="https://grafana.com/blog/how-to-visualize-workflows-and-business-processes-in-grafana-introducing-the-graphviz-panel/"><em>this blog post</em></a><em> on our Graphviz panel.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6fda75edc842" width="1" height="1" alt=""><hr><p><a href="https://medium.com/grafana-labs/from-storefront-to-single-pane-of-glass-how-i-connected-shopify-to-grafana-cloud-6fda75edc842">From storefront to single pane of glass: how I connected Shopify to Grafana Cloud</a> was originally published in <a href="https://medium.com/grafana-labs">Unprompted, by Grafana Labs</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamics of design systems in digital product design — an approach]]></title>
            <link>https://uxdesign.cc/dynamics-of-design-systems-in-digital-product-design-an-approach-6ba18665b80e?source=rss-5f0c76846cba------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ba18665b80e</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Thanos Karachalios]]></dc:creator>
            <pubDate>Wed, 20 Mar 2019 10:01:00 GMT</pubDate>
            <atom:updated>2019-03-26T00:03:56.726Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dynamics of design systems in digital product design — an approach</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1hA0DZLT8bP8Lts7yiZZVg.jpeg" /><figcaption>Algorithmic visualization coded in<strong> Processing</strong></figcaption></figure><h3><strong>Introduction</strong></h3><p>Managing complex projects, like aircraft design, software integration or healthcare system development, requires a set of tools to constrain and maintain apparent degrees of dynamic complexity. In the Systems Engineering field, a number of rigorous and robust processes have been devised to comprehend and model systems as they were becoming more complex over their life cycle.</p><p>Before moving to the profound analogy let us frame our context: the environment and its variables. We are placing ourselves in the context of a tech-enabled start-up business. In this context, Timing, Efficiency, Capacity to execute and Scalability are crucial parameters for the growth of the business, its long term viability, and its positive financial outcome.</p><h3><strong>Delineate</strong></h3><p>Software Product Design, in a manifestation of a specific product of the business, is a component of the aforementioned entity and a subsystem in its own right.</p><p>The Design System of a product, far from being visual guidelines and a collection of digital assets to bring consistency across the product, it’s that granular element embedded in the process of product design, that will aid the rapid development of the product, the effortless maintenance and thus the scalability of it.</p><p>Through the prism of a product designer, one should comprehend the scope of the product and its dynamic conditions that lie ahead in order to develop a rough architecture of a system and structuring methods or interaction relationships that could occur going forward.</p><p>Rigorous approach on structuring a design system and design libraries will enable the team, in the long run, to produce and scale coherent products in the design phase rapidly. A Product design team should aim for using any scalable methodology on building the system while using tool-specific features smartly and efficiently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*DuNUPAUHJG2qCaJjuzEI8w.jpeg" /><figcaption>modifying functions parameters and drawing path.</figcaption></figure><p>Software Product Design on its own is not important; The same applies to Software Product Development as well. It is the balanced and coherent integration that will lead to a well designed and well-engineered product which in turn, will bring value to the business. In similar thinking, Design systems are not only for design teams and are not just a collection of components for designing a product. Modern tools give us the freedom to imagine the form and expand the use of design systems, making them “pools of knowledge” for product stakeholders ie software engineers, product owners etc, at the degree that they carry a value to them.</p><p>Building and expanding the design system is a process of discovery and learning that demands a systems thinking approach for managing this body of knowledge. As such, design teams need to devote time and effort (usually as part of a Chapter backlog ) for exploration and best architectural practices. The aforementioned methodology will enable the team to accelerate repetitive tasks occurring in the product design phase. That leads to process efficiency with high-quality deliverables in less time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*HZ7huKoxtasQPKY7bd6h5w.jpeg" /></figure><h3><strong>Implementing</strong></h3><p>The most important aspects of the aforementioned view, surface when we rethink the business context we operate in; fast, ever-changing, relentless. Understanding the dynamics of a design system and engineering the proper infrastructure will help to</p><ol><li>Create and transfer design knowledge available to everyone in the product team.</li><li>Adapt our products faster to change, while maintaining quality standards</li><li>Design and operate efficiently.</li></ol><p>At <a href="https://www.theblueground.com/"><strong>Blueground</strong></a><strong>, </strong>the<strong> </strong>Product Design team seeks optimal ways for managing product complexity in the design phase through our design systems and design libraries built on <a href="http://figma.com/"><strong>Figma</strong></a>. From reusable components and styles for each product to custom wireframing tools and help guides.</p><p>Figma offers a balanced set of tools and features specifically for product design. It is not the most feature-rich, yet it combines all the necessary elements in the whole spectrum of product design, enabling the team to deliver the right product, fast. In the articles that will follow we’ll take a deep dive into the more technical aspects of building and organising our systems structure as well as finding optimal approaches of cooperation in context with the product’s stakeholders.</p><p><strong>Further reading:</strong></p><p><em>Brooks, F.P., The Design of Design, Turing Award Lecture,</em><br>the book: <a href="https://dl.acm.org/citation.cfm?id=1738960">https://dl.acm.org/citation.cfm?id=1738960</a></p><p><em>Wing, Jeannette M., Computational Thinking,</em><br>Communications of the ACM, Vol. 49, Issue 2, March, 2006.</p><p><em>Jim Waldo, Sun Microsystems Inc, On system design </em><a href="https://dl.acm.org/citation.cfm?id=2170028">https://dl.acm.org/citation.cfm?id=2170028</a></p><p><em>Karl T. Ulrich, Steven D. Eppinger, Product Design and Development</em> <a href="http://www.ulrich-eppinger.net/">http://www.ulrich-eppinger.net/</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F50d69a%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F50d69a%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/05d5fd32eda31cbd1b83287606744532/href">https://medium.com/media/05d5fd32eda31cbd1b83287606744532/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ba18665b80e" width="1" height="1" alt=""><hr><p><a href="https://uxdesign.cc/dynamics-of-design-systems-in-digital-product-design-an-approach-6ba18665b80e">Dynamics of design systems in digital product design — an approach</a> was originally published in <a href="https://uxdesign.cc/">UX Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>