<?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 Michael Foster on Medium]]></title>
        <description><![CDATA[Stories by Michael Foster on Medium]]></description>
        <link>https://medium.com/@mifoster1723?source=rss-29c1bd1dc22d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*khTrejzZQRU4qeS3dD8svg.png</url>
            <title>Stories by Michael Foster on Medium</title>
            <link>https://medium.com/@mifoster1723?source=rss-29c1bd1dc22d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:54:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mifoster1723/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[The Full Stack #1]]></title>
            <link>https://medium.com/@mifoster1723/the-full-stack-1-f9350bee7886?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9350bee7886</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[erp-software]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[erp]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Wed, 15 Jul 2026 19:31:06 GMT</pubDate>
            <atom:updated>2026-07-15T19:35:07.577Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever since learning to program in high school, my philosophy was to solve <em>real world </em>problems with technology. I don’t want to solve problems with technology by going very deep into how a computer works and how to optimize multiplication, and I am more interested in what technology can do. Many of the great minds I follow in this space so often focus on the latter (deep technical problems) rather than the former. This newsletter aims to bridge the ever-growing gap between technology and business at every layer of “the stack”.</p><p>I have decided to consolidate notes from my weekly readings of articles to share with my team and others interested in the AI and Software space. The main goal is to keep an up-to-date outlook on the software industry. My primary focus is on data, AI, software, and ERP.</p><ul><li>Can <a href="https://www.salesforceben.com/could-anthropic-acquire-salesforce/">Anthropic Acquire Salesforce</a>? Salesforce is the largest pure-play SaaS business and has been involved in seed rounds for Anthropic (Invested $50m in Series C, $13b in Series F, and $5b in Series G). The CRM tool has been “disrupted” by AI and has lost 40% of it’s market cap. AI tools have impacted the B2B SaaS solution space and business leaders envision an AI lead software landscape. “Vibe coded” AI solutions do deliver value in a cost savings to not spend on subscriptions for software; however, there are inherent costs associated with maintaining these solutions that have not been fully tested and proven in the market. Scaling AI and AI solutions remains to be the next problem to be solved by the industry. <a href="https://lovable.dev/">Lovable</a> aims to solve this problem but an AI agnostic solution built for scaling software is needed rather than hiring more software developers.</li><li>Is the B2B marketplace shifting to AI SaaS? Realistically, businesses are paying too much for general solutions. The shift towards <a href="https://www.salesforceben.com/salesforce-smb-customers-switch-to-vibe-coded-crms/">vibe-coded solutions</a> sounds like some AI unlocked potential but the gap in the marketplace was SaaS solutions were too bespoke for businesses without a need for every bell and whistle. A microservices software landscape that allows businesses to buy modules and accounts on an as-needed basis would see a similar value creation within the B2B SaaS industry. Value is added when bespoke solutions are tailored to businesses, without additional overhead or costs.</li><li>I envision AI SaaS will be mostly software development accelerated by coding agents. Software has become much cheaper to develop; which means builders of software need to be more focused on design patterns than before. Anyone can write code now, like before. What stays the most important part is who is able to think through problems effectively and produce secure and reliable software. <a href="https://simonwillison.net/guides/agentic-engineering-patterns/what-is-agentic-engineering/">Here is a great guide to introduce those interested in agentic coding</a>. “Now that we have software that can write working code, what is there left for us humans to do? The answer is <em>so much stuff.</em>” Even before AI, writing code was not the main task for software developers. We can delineate prototype code with production code as Vibe-coding vs Agentic Engineering. Agentic Engineering is much more valuable.</li><li>Capitalize on this new wave of cheap software by standing on the backs of giants and developing on top of open-source libraries. In the future, we can pay our dues by maintaining OS software or developing our own. If we investigate our business technology stack, what do we use day-to-day that we don’t even think about? What can be done better? Data visualization and business intelligence tools. <a href="https://taipy.io/">Taipy</a> allows us to develop bespoke solutions that fit our business needs. This development is now cheaper than purchasing power bi and we can form the visualizations however we please.</li><li>This is a <a href="https://taipy.io/blog/taipy-extensions-for-neo4j-users">cool application of Taipy</a> with Neo4j. We have Neo4j running on some data PMO projects where we can put in some of these visualizations. Scroll through the article to see some pretty visuals.</li><li>While most of our work is based on technology, the end application of all the work done is people. Within this line of business, we have opportunities to work on high impact projects that come with a lot of pressure and sometimes emotion. I read <a href="https://www.stoaletter.com/p/the-offenses-done-through-desire">this,</a> this morning and wanted to share it as it helped me reflect on the past year.</li><li>Google released <a href="https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing">OKF</a>. The industry has been following this format in some way or another. Great for document traversal and properly traverses the needed context. OKF can serve as the formal documentation for what all the models and tools like Notion have been structuring documentation.</li></ul><p>Until Next Time…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9350bee7886" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Executive Paradigm Shift]]></title>
            <link>https://medium.com/@mifoster1723/the-executive-paradigm-shift-da79bcd9fcbd?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/da79bcd9fcbd</guid>
            <category><![CDATA[digital-business-strategy]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[generative-ai]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 19:29:57 GMT</pubDate>
            <atom:updated>2026-03-11T19:29:57.423Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“The companies that are the smartest are going to hire more developers.”, </em>Thomas Dohmke, GitHub CEO. If your company hires more developers, they will be able to codify existing business processes and hoard the talent that can leverage AI. Large Language Models (LLMs) have caused a paradigm shift in everyone’s understanding of how computers can solve problems traditionally tasked to humans. The market is rewarding executives that include AI as part of their strategy, strategic executives should focus on hiring those who can bring about this digital transformation through codification of business logic and process improvement; thus, it is our duty as engineers to aid in the adoption of the future.</p><p><strong>Market Context</strong></p><p>Recent market trends show that economic growth is being driven by the ongoing “<strong>AI Frenzy</strong>”. Nvidia is showing returns of 171.25% in 2024. Growth is not isolated to companies upstream of AI.</p><p>Executives are increasingly confident about adopting generative AI tools. According to an IBM study, 1,440 out of 2,000 CEOs surveyed reported that they believe their organization’s proprietary data is key to unlocking the value of generative AI. Executives are betting on AI adoption, and so is the market.</p><p><strong>Real World Productivity</strong></p><p>Real-world productivity is far more complex than what lab studies or research papers can capture. Many lab studies are telling readers, “AI is coming for your job”. In reality, AI can replace the parts of your job that you find redundant or that you could use some upskilling in. Individuals can work with AI to <strong>augment</strong> their skillset and knowledge.</p><p>One study examining Kenyan entrepreneurs’ business performance via an index measure based on profit and revenue, found Entrepreneurs with above-median performance before the experiment saw gains of 0.19 standard deviations when using an AI tool, while those below the median saw a 0.09 standard deviation decrease. Top performers saw major productivity gains when using generative AI tools. Interestingly, low performers saw performance get worse with the use of AI tools.</p><p>One reason for the discrepancy between top performers and low performers is due to the barrier to entry of being able to adopt new technologies to their existing workflow. Looking at this from the business lens, Microsoft assumes “generative AI will follow the path of most general-purpose technologies.” The general-purpose technology adoption path implies workflows will be substantially redesigned to better integrate AI. Based on this adoption, instead of adopting AI for a business, executives must reinvent their workflows and adopt their business for AI. Implementing new workflows to use AI will provide the most value for workers and stakeholders in the future.</p><p><strong>Process Automation</strong></p><p>Updating team workflows paves the way for generative AI adoption. Once the processes are improved, generative AI tools are poised for process automation. One identified key to unlocking generative AI for enterprises is proprietary data access. Legacy SaaS systems, like ERP, are positioned uniquely to capitalize on process and data access. Their parent companies are already making massive investments into generative AI. Oracle and Open AI have gone in on a $300 billion investment and Microsoft invested in Open AI for nearly $14 billion.</p><p>There are other implications for their investment than just ERP systems, but these ERP systems are positioned to bring the advantage of generative AI to industries. For example, Oracle NetSuite has identified Procurement as the team which pulls together the most enterprise data. To capitalize on this, there is a new offering in their ERP system, Oracle Fusion Cloud Procurement. Their procurement AI use cases include predictive analytics and cost optimization, automation of generating RFPs, managing suppliers, purchase order automation, and virtual assistants for general procurement related queries. These capabilities should encourage change leaders to adopt ERP systems that expose enterprise data to AI for task automation. This will then lead to more pieces of a company being able to see process improvement and automation with grander access to their data.</p><p><strong>Adoption Strategies</strong></p><p>Identifying the correct use case for generative AI is the most important step. One strategy is to use <strong>mirrors</strong> to identify a speed up of using AI or not using AI.</p><p>A global biopharma company looked at their existing processes and determined ways Gen AI could improve them. Instead of replacing the existing processes, they ran “mirror” processes side-by-side to validate results. A BCG study identified four businesses that are using generative AI with this method, in manufacturing and supply chain, they have product quality reviews in which verify production processes, identify trends, and ensure drugs comply with regulatory standards. In the process that had access to Gen AI, they saw a speed up of about 70% in generating a draft for these reviews.</p><p>The mirror strategy allows companies to see clear positive or negative returns when implementing an AI automation process.</p><p><strong>Unlocking Generative AI Value</strong></p><p>IBM claims to have unlocked $4.5 billion in cost savings and a 50% increase in the productivity of enterprise operations. AI can cut costs and increase productivity leading to an awakening of codifying existing business processes to implement generative AI solutions. What is the blueprint for saving costs and increasing productivity with generative AI?</p><p>1. Companies must establish data and AI governance to provide meaningful context for generative AI.</p><p>2. Employees at every level must become <strong>champions</strong> of this transformation to make it sustainable. Being able to identify what should be automated is a key to finding these cost savings and productivity gains. Companies need to be able to invest in pilot programs to see if the automated processes will lead to true improvements.</p><p>3. Companies need to identify what existing technologies exist to bring about these gains with AI or identify the processes in which they can develop a solution for.</p><p>4. There needs to be KPIs to be able to measure the ROI on the AI applications. Then you can automate or not based on the value save of the automation.</p><p>The new executive playbook is clear: identify outdated workflows, prepare data and technology for AI adoption, automate intelligently, track outcomes, and empower change.</p><p><strong>Sources</strong></p><p>· AI Frenzy <a href="https://www.usfunds.com/resource/ai-frenzy-drove-the-sp-500s-best-two-year-gains-since-the-dot-com-era/">https://www.usfunds.com/resource/ai-frenzy-drove-the-sp-500s-best-two-year-gains-since-the-dot-com-era/</a></p><p>· IBM CEO Study <a href="https://newsroom.ibm.com/2025-05-06-ibm-study-ceos-double-down-on-ai-while-navigating-enterprise-hurdles">https://newsroom.ibm.com/2025-05-06-ibm-study-ceos-double-down-on-ai-while-navigating-enterprise-hurdles</a></p><p>· GitHub CEO Quote <a href="https://www.businessinsider.com/github-ceo-smartest-companies-hire-more-software-engineers-2025-7">https://www.businessinsider.com/github-ceo-smartest-companies-hire-more-software-engineers-2025-7</a></p><p>· Microsoft Real World Workplaces <a href="https://www.microsoft.com/en-us/research/wp-content/uploads/2024/07/Generative-AI-in-Real-World-Workplaces.pdf">https://www.microsoft.com/en-us/research/wp-content/uploads/2024/07/Generative-AI-in-Real-World-Workplaces.pdf</a></p><p>· Oracle AI Procurement <a href="https://www.oracle.com/scm/ai-in-procurement/">https://www.oracle.com/scm/ai-in-procurement/</a></p><p>· BCG Study <a href="https://www.bcg.com/publications/2025/how-four-companies-use-ai-for-cost-transformation">https://www.bcg.com/publications/2025/how-four-companies-use-ai-for-cost-transformation</a></p><p>· IBM Productivity <a href="https://www.ibm.com/think/insights/enterprise-transformation-extreme-productivity-ai">https://www.ibm.com/think/insights/enterprise-transformation-extreme-productivity-ai</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da79bcd9fcbd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Set Up Postgres in Backstage]]></title>
            <link>https://medium.com/@mifoster1723/how-to-set-up-postgres-in-backstage-0ad04c35612b?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ad04c35612b</guid>
            <category><![CDATA[backstage]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Sat, 02 Mar 2024 20:30:11 GMT</pubDate>
            <atom:updated>2024-03-02T20:30:11.907Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>We are going to set up Postgresql in Backstage to run the postgres database locally. Backstage ships with sqlite3 as the default database. For production use cases, we prefer to use postgresql to be able to have larger write volumes and better persistence with our data. For this tutorial, I will be referencing the Backstage Documentation and use pgAdmin 4. In this article we will download postgresql locally, set up our database, and set the required values for Backstage.</p><ul><li><a href="https://backstage.io/docs/getting-started/">Creating your Backstage App | Backstage Software Catalog and Developer Platform</a></li><li><a href="https://www.pgadmin.org/">pgAdmin</a></li></ul><p><strong>Download PostgreSQL (pgAdmin 4)</strong></p><p>The download is very straight forward, navigate to the postgresql download page here: <a href="https://www.pgadmin.org/download/">https://www.pgadmin.org/download/</a>. Download your machine’s postgresql release. For my environment, I will download the most recent release for Mac Ventura. You can find your Mac version by clicking the apple symbol in the top right corner and selecting `About this mac`.</p><p>Now, I will follow the download steps from the download manager. After following the steps from the download manager, I will open pgAdmin 4. You will need to set up a password, select a password that you will remember as you will need to enter this password every time you access pgAdmin. On the Dashboard tab, we will select `add new server`. This will open a popup. The name will be `Backstage` in the General tab. Then I will navigate to the Connection Tab. Since we are running Backstage locally, we will set the hostname as `localhost` and the Port will be `5432`. We will set a password for this demo, we will use the password `secret` for convenience (you should select a much more secure password than this, this is only for demo sake).</p><p>Once we are set up we will navigate to the bottom right corner and select the `Save` button. You should be redirected to your Backstage Postgresql instance that is now running on your local machine and open on port 5432. Now we will add the secrets and setup to Backstage.</p><p><strong>Backstage Implementation</strong></p><p>First, we need to add postgres to the Backend. We can do this by simply using the yarn cli tool in backstage to add pg to our backend with the following command:</p><pre>yarn --cwd packages/backend add pg<br>yarn install</pre><p>We will make the needed changes in the app-config file and then read some values from our environment to be able to run Backstage with Postgresql. The <a href="https://backstage.io/docs/tutorials/configuring-plugin-databases">Backstage Documentation</a> is very comprehensive in these steps. I will be adding some screenshots to make it easy to implement.</p><p>We start by adding a few values to our app-config.yaml. I will change the existing backend.database from using sqlite3 to postgresql. To do this, I will change the database.client from `sqlite3` to `pg`. Then I will change the connection to be a parent for host, port, user, and password. We will set all of those values to environment variables. This is what the code should look like after, this is all a child of the backend field in the app-config.yaml</p><pre>  database:<br>    client: pg<br>    connection:<br>      host: ${POSTGRES_HOST}<br>      port: ${POSTGRES_PORT}<br>      user: ${POSTGRES_USER}<br>      password: ${POSTGRES_PASSWORD}</pre><p>To finish the setup, we need to create the environment variables. The variables will have the values we set when we setup the database, the host is `localhost`, the port is our default `5432`, the user will be `postgres` as that is a default user, and the password is what we set as the password which was `secret`. Your .env should look similar to this:</p><pre>export POSTGRES_HOST=&#39;localhost&#39;<br>export POSTGRES_PORT=&#39;5432&#39;<br>export POSTGRES_USER=&#39;postgres&#39;<br>export POSTGRES_PASSWORD=&#39;secret&#39;</pre><p>We will source our secrets by running `source .env`. Now, we run our backstage application using `yarn dev` and we will be able to confirm our database is running with a successful web app running in our browser and our database will populate our backstage tables.</p><p>Note: Remember to source your .env and make sure your Postgresql DB is running locally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f_VT6QCwwYnIyIw59BCw2A.png" /><figcaption>Successful App running at localhost:3000</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*-lFpcVtlAVShC5uYFlf_TA.png" /><figcaption>All of our backstage databases auto populate</figcaption></figure><p>Next Steps</p><p>The Backstage implementation for Postgresql is simple yet important as we begin to run Backstage in Production. This will make our lives easier to match our local development to our production environment for easier deployment. Next we will start deploying backstage locally. If you haven’t you should set up Backstage SSO in GitHub with this <a href="https://medium.com/@mifoster1723/sso-integrations-in-backstage-with-github-e40c2ec519a9">article</a> or read some of my earlier tutorials around <a href="https://medium.com/@mifoster1723/getting-started-with-backstage-26d4c06fb133">Backstage</a>.</p><p>Otherwise, check out the future articles:</p><ul><li>Setting up Azure AD SSO</li><li>Templates in Backstage</li><li>Software Entities in Backstage</li><li>Deploy Backstage on a local Kubernetes Cluster</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ad04c35612b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set Up GitHub SSO & Integrations in Backstage]]></title>
            <link>https://medium.com/@mifoster1723/sso-integrations-in-backstage-with-github-e40c2ec519a9?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e40c2ec519a9</guid>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[backstage]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Wed, 09 Aug 2023 17:24:31 GMT</pubDate>
            <atom:updated>2023-08-09T19:30:10.782Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>Let’s set up Backstage with SSO and repository interactions with your GitHub organization. Before you read, if you missed the initial steps of setting up Backstage, check out <a href="https://medium.com/@mifoster1723/getting-started-with-backstage-26d4c06fb133">this article</a>. This article aims to introduce SSO for your Backstage application and set up the initial GitHub integrations with your organization’s repositories. SSO will give your organization the ability to provide users of Backstage an identity and deny or allow users to use certain features of Backstage if they are allowed into your site. The GitHub integration will allow Backstage to read your repositories and interact with the Git API to manipulate and create repositories. I have provided a glossary/vocabulary section at the bottom if you need some context. This article is based on the Backstage documentation for bootstrapping your organization: <a href="https://backstage.io/docs/getting-started/">https://backstage.io/docs/</a>.</p><p><strong>Environment Variables</strong></p><p>Backstage uses an app-config to configure the application from a yaml file. This app-config will contain what is necessary for configuring the frontend and the backend. The app-config configures plugins, authentication, and more. In future articles, we will use the app-config to set up the database and how to use different app-configs for each application lifecycle. For the time being, we will use the app-config to enable SSO and Git integrations. The app-config will require sensitive information. We can load the sensitive location through environment variables. Locally, we will need to create a .env file in the top level of the directory. Right now, we can leave the file empty. When running the application we can source the environment variables stored in the file by running the below in your terminal session:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/0*4cI7Ox7LNfcEmMtM" /></figure><p>IMPORTANT: add .env to your .gitignore file.</p><p><strong>SSO</strong></p><p>Setting up SSO for Backstage is straightforward, all you need to get started is admin access to your GitHub organization.</p><ul><li>Go to <a href="https://github.com/settings/applications/new">https://github.com/settings/applications/new</a> to create a new OAuth App for a GitHub user. Go to https://github.com/organizations/&lt;Organization_Name&gt;/settings/applications</li><li>For local development, I like to use the below configuration of the application:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/0*_GkgEBHU0VaT7sJ3" /></figure><ul><li>Click Register application and generate a new client secret:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/0*MIj9jHzSJAFDxP6-" /></figure><ul><li>Open the .env file with your favorite editor and add your ClientId and ClientSecret:</li></ul><pre>export GITHUB_CLIENT_ID=&lt;ClientId&gt;<br>export GITHUB_CLIENT_SECRET=&lt;ClientSecret&gt;</pre><ul><li>Save the .env file and source the environment variables.</li><li>Open the app-config.yaml and add github to the auth providers:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ev1lpUNuintLPONI" /></figure><ul><li>Add GitHub sign-in to the frontend:</li></ul><p>packages/app/src/App.tsx</p><pre>import { githubAuthApiRef } from &#39;@backstage/core-plugin-api&#39;;<br>import { SignInPage } from &#39;@backstage/core-components&#39;;</pre><p>In the createApp function below apis, add the component:</p><pre>components: {<br>  SignInPage: props =&gt; (<br>    &lt;SignInPage<br>      {…props}<br>      auto<br>      provider={{<br>        id: &#39;github-auth-provider&#39;,<br>        title: &#39;GitHub&#39;,<br>        message: &#39;Sign in using GitHub&#39;,<br>        apiRef: githubAuthApiRef,<br>      }}<br>    /&gt;<br>  )<br>},</pre><ul><li>Save the files and run Backstage via the terminal with yarn dev. You should be able to sign in with your GitHub account!</li></ul><p><strong>Refactor</strong></p><p>Now that we have authentication up and running, let’s abstract away the sign-in components from the main App component.</p><ul><li>Create a new directory in packages/app/src/components/signin/</li><li>Create and edit an identityProviders.ts, we are going to migrate the provider code into this file:</li></ul><pre>import { githubAuthApiRef } from &#39;@backstage/core-plugin-api&#39;;<br>export const providers = [<br>  {<br>    id: &#39;github-auth-provider&#39;,<br>    title: &#39;GitHub&#39;,<br>    message: &#39;Sign in using GitHub&#39;,<br>    apiRef: githubAuthApiRef,<br>  },<br>];</pre><ul><li>Import the providers from the identityProviders.ts in the App.tsx and remove the githubAuthApiRef import.</li></ul><pre>import { githubAuthApiRef } from &#39;@backstage/core-plugin-api&#39;;<br>import { SignInPage } from &#39;@backstage/core-components&#39;;<br>import { providers } from &#39;./components/signin/identityProviders&#39;;</pre><ul><li>Add the providers to the element in the SignInPage</li></ul><pre>components: {<br>  SignInPage: props =&gt; (<br>    &lt;SignInPage<br>      {…props}<br>      auto<br>      provider={providers}<br>    /&gt;<br>  )<br>},</pre><ul><li>Rerun the application by typing `ctrl+c` in the session running Backstage, source your .env, then rerun with `yarn dev`. It should work properly still!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/0*TILhoi9FqCmDL8im" /></figure><p><strong>Integrations</strong></p><p>Now that we are allowing users to sign in to Backstage, we should allow them to create some software and register entities in GitHub. This is done through either a personal access token or a GitHub app. In this basic tutorial, we will start with a personal access token. In a future article, we can graduate to using a GitHub app.</p><p>First, create a personal access token via the <a href="https://github.com/settings/tokens/new">GitHub token creation page</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*0q7lPlxq8LgnRI28" /></figure><p>Note that repo and workflow are required for the scaffolder to template repositories. After selecting your preferred permissions, click on the Generate token button at the bottom of the page.</p><p>Next, Backstage needs to read this PAT token from the app-config. If you created the Backstage app from the npx command it should be in there already; otherwise, add the following lines to the integrations object:</p><pre>integrations:<br>  github:<br>    - host: github.com<br>      token: ${GITHUB_TOKEN}</pre><p>Lastly, we need to add the PAT token to our .env:</p><pre>export GITHUB_TOKEN=&lt;PAT_TOKEN&gt;</pre><p>Let’s test by rerunning the app. Once it has compiled correctly, navigate to <a href="http://localhost:3000/">http://localhost:3000</a> and sign in with your GitHub account. You should see the catalog, let’s navigate to the Create tab.</p><figure><img alt="backstage tabs" src="https://cdn-images-1.medium.com/max/452/0*G0eI-7bXeLTUjpRR" /></figure><p>Now you can register a component with the register component button or create a new repository with the template that is preloaded. Let’s use the preloaded template to create a new repository in the GitHub used with the PAT token.</p><p>Let’s fill out the Node.js template by choosing the template from the Create tab. We can fill out the fields in the template as the following and follow the workflow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*0knQfrDazLYtkfus" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/0*UWONxmHDu6LhCdGk" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D2Xe-UduHhgMQtlf" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RBOntguEbPA4Nn-G" /></figure><p>Following the workflow we can take a few notes:</p><ul><li>The name will be used for templating the new component and naming it in the catalog.</li><li>I used the owner of the repository to be the same account as the PAT token, I could have also done this with an organization that the user is a part of.</li><li>The repository name must be unique because we are creating a new repository and it will error if I try to create an existing repository.</li></ul><p>We can now navigate to the catalog to see the existing component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KQM7zA7GsyDnT9n-" /></figure><p>If we click on the new component, which we named from the above steps, we will see some information. We can click the view source to see the repository that was created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0Uw31bPc_rSBhcbN" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mPBY5AwlltPUfkFw" /></figure><p>Note that the repository was pushed by the Scaffolder and that is reflected here. In the future, we will look into how the User can be manipulated to see who owns what repositories and entities.</p><p><strong>Next Steps</strong></p><p>Now that you have your Backstage hooked into GitHub with SSO and integrations, you can start creating entities and templates that automate your software delivery. Backstage’s core functionality is unlocked with the templates for self-service infrastructure provisioning and creating new software as well as the catalog capabilities to map out your current software ecosystem. Next in the bootstrap process, you should follow the below tutorials.</p><ul><li>Set Up Postgresql locally</li><li>Templates in Backstage</li><li>Software Entities in Backstage</li><li>Set Up Azure SSO and Integrations</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e40c2ec519a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started With Backstage]]></title>
            <link>https://medium.com/@mifoster1723/getting-started-with-backstage-26d4c06fb133?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/26d4c06fb133</guid>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[developer-platform]]></category>
            <category><![CDATA[backstage]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Fri, 04 Aug 2023 19:33:11 GMT</pubDate>
            <atom:updated>2023-08-09T18:10:27.619Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>Let’s bootstrap Backstage. First, if you want to assess Backstage for your Organization review <a href="https://medium.com/@mifoster1723/is-backstage-right-for-my-organization-205abdb0bbb3">this article</a>. The aim of this article is to show how easy it is to get a Backstage instance up and running on your machine. To follow SOLID principles in this series, this article will be a basic bootstrap followed by successive steps that you can follow to adapt to your individual use cases. This article is based on the Backstage documentation of getting started: <a href="https://backstage.io/docs/getting-started/">https://backstage.io/docs/getting-started/</a></p><p><strong>Requirements</strong></p><p>To run bootstrap and run backstage the following are requirements for your machine (with my suggestions for fulfilling the requirements):</p><ul><li>Unix-based OS<br>* You will need a Linux machine or a Mac. If you have Windows, look into <a href="https://docs.microsoft.com/en-us/windows/wsl/">Windows Subsystem for Linux</a></li><li>Build Environment Tools<br>* Mac: xcode dev tools<br>* Linux: make and build-essential packages downloaded</li><li>Node.js Runtime<br>* I recommend <a href="https://github.com/nvm-sh/nvm#install--update-script">nvm</a> as you can manage your node version with nvm</li><li><a href="https://classic.yarnpkg.com/en/docs/install#mac-stable">Yarn</a></li><li>Docker<br>* For the container runtime, I recommend downloading and installing <a href="https://rancherdesktop.io/">Rancher desktop</a></li><li><a href="https://github.com/git-guides/install-git">Git</a></li><li>A code editor &amp; a CLI<br>* <a href="https://code.visualstudio.com/download">VS Code</a> works, I prefer to use JetBrains IDEs in this case <a href="https://www.jetbrains.com/webstorm/download/">WebStorm</a> and Vim<br>* I have a terminal emulator installed on my Mac called <a href="https://app.warp.dev/referral/KVYEDE">Warp</a> that might prove to be a future article</li></ul><p>The above may be a large pill to swallow, set up your development environment however you like. These were my recommendations and with anything, the tool kit will help you be more efficient!</p><p><strong>Getting Started</strong></p><ul><li>Open Warp and start a new session</li><li>Navigate to the desired location of the Backstage application on your machine. For example, let’s create backstage in your Desktop directory:</li></ul><pre>cd ~/Desktop/</pre><ul><li>In your Desktop directory use npx to create a new Backstage installation:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/0*fGQIDH8kLffDxY6H" /></figure><ul><li>You will be prompted to enter a name. You can choose whatever name you want and hit enter:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/0*cnhN3U6G1R5K3eVG" /></figure><ul><li>Then you should have a Backstage directory with the name you put in with the app!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/0*rJ3LfWYgS-n4LZUi" /></figure><ul><li>NOTE: Follow these steps if you receive an error on the yarn install step: `Error: Could not execute command yarn install`</li><li>Make sure you are using node version 16.20 or later</li></ul><pre>nvm version</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/195/0*E3ZxxF_HxHx4ipHT" /></figure><pre>nvm use 16</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*-SLL7ueB6SfsSY6E" /></figure><ul><li>Change the directory to the backstage application and rerun the install step</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/0*RjoO9ePjrhWvEueP" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/0*EzKSGJWQDAeoRleM" /></figure><ul><li>The result should look like this:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/0*ZDhGbASBdQCb8nQC" /></figure><p><strong>Run the App</strong></p><ul><li>Confirm your working directory is the Backstage directory by running an ls</li><li>The file structure should look like this:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vswxO1R9G2KJiwxb" /></figure><ul><li>If it does not look like the above change directories to the directory you named your Backstage application</li><li>Run the frontend and backend at the same time by running yarn dev</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/0*E-qhppfLqsQrjqRQ" /></figure><ul><li>Navigate to <a href="http://localhost:3000/">http://localhost:3000/</a> to see Backstage up and running!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1kRJYeRdFVthFmCu" /></figure><p>NOTE: If this was unsuccessful, confirm you have all the requirements downloaded and that ports 3000 and 7007 are open on your machine.</p><p>To stop Backstage running locally hit `ctrl+c` in the terminal session you ran the `yarn dev` in.</p><p><strong>Next steps</strong></p><p>Now that you have your Backstage instance up and running you can keep forming Backstage to fit your personal use case needs. Next in the bootstrap process, you should follow the below tutorials.</p><ul><li>Set Up an SSO Provider<br>* <a href="https://medium.com/@mifoster1723/sso-integrations-in-backstage-with-github-e40c2ec519a9">GitHub</a><br>* Azure Active Directory/Microsoft O365</li><li>Set Up Integrations<br>* <a href="https://medium.com/@mifoster1723/sso-integrations-in-backstage-with-github-e40c2ec519a9">GitHub</a><br>* Azure DevOps</li><li>Set Up Postgresql locally</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26d4c06fb133" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Backstage right for my Organization?]]></title>
            <link>https://medium.com/@mifoster1723/is-backstage-right-for-my-organization-205abdb0bbb3?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/205abdb0bbb3</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[internaldeveloperplatform]]></category>
            <category><![CDATA[backstage]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Tue, 01 Aug 2023 21:13:05 GMT</pubDate>
            <atom:updated>2023-08-01T21:36:27.587Z</atom:updated>
            <content:encoded><![CDATA[<p>This article is a continuation of a series about adopting Backstage for your organization which is an Internal Developer Platform. You can find out more about <a href="https://medium.com/@mifoster1723/what-is-a-developer-portal-8848bb59fcdb">Internal Developer Platforms here</a>.</p><h4><strong>Backstage’s Birth at Spotify</strong></h4><p>Platform Engineering is all the buzz right now, but before you implement an IDP, ask yourself, is your organization in need right now? Years ago, Spotify was a rapidly growing company. They were onboarding new engineers weekly and deploying microservices right and left. Naturally, growing will cause the infrastructure, microservices, and documentation to sprawl uncontrollably. Tech sprawl leads to the engineers at Spotify meeting a common issue of large teams, the larger you are the less AGILE you can be. In today’s climate, software engineers are required to context switch repeatedly and know what’s going on in the infrastructure to develop effectively. Spotify identified this issue and set out to find a solution.</p><p>Spotify’s idea was to centralize and simplify end-to-end software development with an abstraction layer on top of the microservices, infrastructure, and documentation. The abstraction layer started with creating a software catalog. The software catalog compiled metadata created entities to link to the repository, define an owner of the entity, and describe the product team. Spotify then saw an opportunity to enable their software engineers to provision infrastructure as they needed. Spotify included documentation by building an internal microservices framework and implementing endpoints to retrieve API documentation. This solution became an effective software catalog, self-service infrastructure tool, and the primary reference for documentation. Finally, Spofity found an answer to make developers happy: Backstage.</p><p>Backstage is a leading-edge technology for organizations of all sizes focusing on developer experience. Backstage supplies out-of-the-box functionality that you can utilize and extend using the framework.</p><h4><strong>The Developer Experience</strong></h4><p>Backstage’s philosophy is happy developers write happy code. This is just a nice way to say when developers have no blockers and understand their code base, they are able to deliver more software with higher quality. Backstage’s role is an aggregate of all of your organization’s services, tools, and software. Backstage will process information about your services and compile them into a UI for your developers to navigate and learn about the existing services and software. The value Backstage provides is an automated discovery and self-service infrastructure. The Backstage framework will give your teams the ability to contribute to integrations into the IDP. For example, if your developer wants to integrate ArgoCD or Azure Pipelines into the Backstage instance they can implement this into their entity via the catalog-info.yaml (more on those later). Additionally, developers can implement <a href="https://backstage.io/plugins">plugins supplied by the open-source community</a> or by your internal developers. By empowering your developers with the ability to implement the plugins and features they want and add their software to the IDP you create a need of ownership of every software component. The ownership is defined by an owner and that owner is responsible for keeping the information and technology up to date.</p><p>The Backstage framework enables an organization to create its own Internal Developer Platform with a collection of tools and libraries. Backstage also ships with a CLI to add or remove features (or plugins) as needed. The framework is a Node.js backend with a React frontend built with Backstage’s core libraries which are supported by the community. This Developer Platform has three layers of maintenance:</p><ol><li>Core: This layer is the base functionality built by core developers in the open-source project. This is maintained by the community and released as open-source. An organization does not need to worry about the core unless they want to contribute to the project.</li><li>App: This layer is the instance that is deployed and customized for your organization. The app layer is maintained by app developers within an organization. This is where the most interaction takes place for adopting Backstage.</li><li>Plugins: This layer extends the Developer Platform. The basic functionality is abstracted as plugins, so all of the interactions for development are handled through the plugins. Here organizations can use the community’s catalog or create their own plugins.</li></ol><h4><strong>Strategies for Adoption</strong></h4><p>To reach the full potential of Backstage, a central team should treat the Backstage deployment as a product they own. The team will need to…</p><ul><li>Maintain and operate the deployment of Backstage through customer support, application infrastructure, and CI/CD</li><li>Lead the adoption of the developers at the organization to the product</li><li>Ensure best practices for software development are encoded throughout the templates and entities</li><li>Convert all engineering teams to the central platform</li></ul><p>If your Backstage team accomplishes the above, the product becomes a marketplace for developers to navigate to solve their questions and empower them with what they need. Spotify calls this a ‘platform of platforms’.</p><p>If you follow this series closely, you will learn how to bootstrap backstage starting from nothing. I will walk through maintaining Backstage as well as populating Backstage with current software entities.</p><h4><strong>Benefits &amp; Measuring Backstage’s Success</strong></h4><p>Every level of your organization will benefit from implementing an Internal Developer Platform. Backstage highlights these <a href="https://backstage.io/docs/overview/what-is-backstage">benefits</a> for each level:</p><ul><li>Engineering managers are enabled to maintain standards and best practices across the organization. Backstage will help you manage the entire tech ecosystem.</li><li>Developers are enabled to build software components in a standardized way and provide a central place to manage their projects and documentation.</li><li>Platform engineers are enabled to easily integrate new tools and services via plugins.</li><li>Everyone is enabled by a single application that ties in all your infrastructure tooling, resources, standards, owners, contributors, and administrators together in one place.</li></ul><p>The best way to know if Backstage is effective for an organization is to measure the impact of a pilot Backstage application available to a select few teams within your organization. Spotify mentions these <a href="https://backstage.io/docs/overview/adopting#kpis-and-metrics">metrics</a> for measuring adoption:</p><ul><li>Onboarding time</li><li>Number of merges per day</li><li>How many times does an engineer push changes to production?</li><li>MTTR — mean time to repair</li><li>How often do engineers have to switch contexts?</li><li>eNPS — employee Net Promoter Score</li><li>More standardization in your software ecosystem, less variance in technology between different software components</li></ul><h4><strong>Alternatives</strong></h4><p>Another popular Internal Developer Platform that enables users to access an organization’s microservices and serve as a catalog for the organization is <a href="https://www.getport.io/">Port</a>. Port is a SaaS solution for IDPs and serves to solve many of the problems Spotify had during its creation of Backstage. Port’s UI is much more updated than the out-of-the-box UI Backstage offers. Adopting Port doesn’t require a whole team to own Port either as a SaaS. After playing around with Port, I ran into limitations with the offering being a SaaS product and the lack of extensibility. Backstage’s vast plugin library allows users to mold Backstage into the product to fit each organization’s needs. An immediate limitation of Port was the lack of integration with Azure. No SSO for Azure or integrations to Azure DevOps was offered. If your organization does not require the extensibility Backstage gives the user, Port might be a better fit.</p><h4><strong>Conclusion</strong></h4><p>As with anything, if implemented correctly, for the right use case, software can have a great positive impact on your organization. The Backstage framework can enable your engineering teams to contribute and produce software more effectively and happily. Keep following the series to learn more about getting started with Backstage! You can find a refresher on <a href="https://medium.com/@mifoster1723/what-is-a-developer-portal-8848bb59fcdb">Internal Developer Portals here</a>.</p><h4><strong>Sources</strong></h4><p>Backstage documentation: <a href="https://backstage.io/docs/overview/what-is-backstage">https://backstage.io/docs/overview/what-is-backstage</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=205abdb0bbb3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a Developer Portal?]]></title>
            <link>https://medium.com/@mifoster1723/what-is-a-developer-portal-8848bb59fcdb?source=rss-29c1bd1dc22d------2</link>
            <guid isPermaLink="false">https://medium.com/p/8848bb59fcdb</guid>
            <category><![CDATA[developer-platform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[backstage]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Michael Foster]]></dc:creator>
            <pubDate>Fri, 28 Jul 2023 18:23:10 GMT</pubDate>
            <atom:updated>2023-07-28T18:23:10.128Z</atom:updated>
            <content:encoded><![CDATA[<p>Picture this… you are a software developer that is an expert at your craft. You have been a part of the same team since graduating and your team has been Agile able to deliver great work together. Now, you’ve decided it’s time for a change. You’ve been headhunted by a software dev company that wants you to join their team as a senior software engineer. You accept, leave your job excited to start new projects and deliver the same way you did before. You wake up early your first day and have the usual on-boarding process. It takes about a week to discuss the company vision and get your hardware set up for your development environment. Now that on-boarding period has passed you’re ready to develop. You go to Jira and get your first ticket assigned! You start developing but realize that this company doesn’t have all of the modules you’ve developed at your old company you can’t utilize. You also realize they use different technology to deploy the application AND you don’t know whether or not this has been deployed before. You poke around but nothing is the same, you can’t find anything. You don’t even know who to talk to. As a hard worker you decide to add subtasks to the tickets and write new modules and code to finish the ticket. When you have the retro, you bring this up and to find out that all this code was done already. You just needed to use the same code implemented in website A, change the values to represent website B. All that time lost to get used to the code base. There’s no way around it, you just need to learn our environment better! Is what your coworker says. This practice is very common and causes burn out very quickly. There is a way around this miscommunication between teams and duplicate code: Developer Portals.</p><p>The main goal of every software company is talent retention and for that talent to deliver quick amazing software. Developer Portals serve as the ultimate guide to a large organization’s software architecture. They aim to create better communication between developers, reduce code duplication, and help developers understand the system they are developing.</p><p>A Developer Portal is a go-to place for developers to contribute to an environment. I like to call Internal Developer Portals: IDP’s. IDPs organize information about your organization’s services, documents, and software components. IDPs also track ownership. So when you are scrambling around trying to find who wrote what, you have the answer in your IDP. Then you can reach out to that developer on your team directly or understand through the IDP entity, see what the tool does and any dependencies on that software. IDPs can help request new code or infrastructure to be deployed through the portal as well. Developers will then be able to instantly request the infrastructure needed to run their application and the DevOps can help the developer use their architecture.</p><p>IDPs will balance developer autonomy and discoverability to allow teams to work independently, deploy daily, expose their work to the organization, and benefit from a whole organization’s services. IDPs help developers navigate their ecosystem, provide an organizational level of insight to tech health and maturity, and empower engineers with self-servicing. In turn this will keep great developers happy. Meaning they will produce better code and be more willing to stay on the team.</p><p>In this series we will dive into Backstage, an IDP framework. We will see if Backstage is a good adoption for your software organization or project to use. Then we will adopt Backstage to an example organization and show some ways to extend Backstage’s functionality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8848bb59fcdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>