function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Add flow button to lightning component

I am looking at a lightning component that i didnt create but want to add a flow action(button) to the page. I'm not sure how to do this or if i can do this, but i want to add a flow that creates notes to the lightning component.  Below are schreenshots of where I need to the button and the code snippett where the other button reside.
User-added image

User-added imageUser-added image
PriyaPriya (Salesforce Developers) 

To embed a flow in your Aura component, add the  <lightning:flow>  component to it.
    <aura:handler name="init" value="{!this}" action="{!c.init}" />
    <lightning:flow aura:id="flowData" />
    init : function (component) {
        // Find the component whose aura:id is "flowData"
        var flow = component.find("flowData");
        // In that component, start your flow. Reference the flow's API Name.

For more reference, refer these article :-

Kindly mark it as the best answer.

How would I add it to the lightning component shown above?