- Import yoembed NPM package.
npm i yoembed - Update the
importerIdcreated through YoBulk backend application,Running in port 3000. - Update the
yoHostUrlwith the endpoint url where the YoBulk backend application is running.
Example in App.js
import { YoButton } from "yoembed";
import "./App.css";
function App() {
return (
<div className="App">
<h2>This is my SAAS</h2>
<hr />
<br />
<YoButton
btnText="My upload"
importerId={"63d1eecfb9086d1c4170a1d8"}
yoHostUrl={"http://localhost:3000"}
/>
</div>
);
}
export default App;git clone [email protected]:yobulkdev/yoembed-sample-react-app.git
cd yoembed-sample-react-app
yarn install
yarn startThe Sample Import button application will be running in port 3003.