Steps to add flow to the object action button are as follows:

  • Go to Setup - click on Object Manager.
  • Click on the object you want to add LexLookup as a button on.
  • Click on Buttons, Links and Actions.
  • Click on the New Action button on the right of the page.
  • Click on the Action Type dropdown and select “Flow”
  • Click on the Flow dropdown and select the flow in which “LEXLookup” component is added
  • Add the Label of your choice and click Save
  • Now, click on Page Layout in the left panel
  • Select the Page Layout and click on the Mobile & Lightning Actions in the component
  • Drag the button (created in the above steps) to Salesforce Mobile and Lightning Experience Actions section and click “Save“
  • On the Object Record Page, the button will appear in the Action button.