{"id":12120,"date":"2023-03-10T07:39:48","date_gmt":"2023-03-10T07:39:48","guid":{"rendered":"https:\/\/cloudkul.com\/blog\/?p=12120"},"modified":"2024-12-13T11:25:37","modified_gmt":"2024-12-13T11:25:37","slug":"the-bagisto-saas-installation-on-plesk","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/","title":{"rendered":"The Bagisto SAAS Installation on Plesk"},"content":{"rendered":"\n<p><strong><a href=\"https:\/\/bagisto.com\/en\/laravel-multi-tenant-saas\/\">Software as a Service<\/a><\/strong> is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays that is used by the end-user.<\/p>\n\n\n\n<p>Here we will discuss how we can install Bagisto SaaS on a Plesk environment and as well as how to create a tenant&#8211; <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to install Bagisto SaaS on Plesk<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 &#8211; Login into Plesk<\/h3>\n\n\n\n<p>First, we need to login on to Plesk to start with the installation process.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/PLesk.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"620\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/PLesk.png\" alt=\"pleask\" class=\"wp-image-12273\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 &#8211; Add a Domain name<\/h3>\n\n\n\n<p>We need to add the domain name to launch the website. Therefore<strong> <\/strong>Click on<strong> &#8216;Add domain&#8217; <\/strong>to add the domain name that you want to use with your website. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-04_15-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-04_15-20-1024x479.png\" alt=\"website\" class=\"wp-image-12141\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 &#8211; SSH and FTP user<\/h3>\n\n\n\n<p>Add your domain name and create one FTP user to access files on the server. However, only this user will be able to access data on your server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-04_15-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"999\" height=\"624\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-04_15-22.png\" alt=\"domain\" class=\"wp-image-12142\"\/><\/a><\/figure>\n\n\n\n<p>After that, we need to allow SSH access to the user that we have created to access the server files, here my user is &#8216;Bagisto&#8217;.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-photo is-provider-bagisto wp-block-embed-bagisto\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/bagisto.com\/en\/laravel-multi-tenant-saas\/\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Download Bagisto<\/h3>\n\n\n\n<p>Create a Bagisto project in the user&#8217;s home directory using Composer, follow these commands &#8211; <\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\">$ cd \/var\/www\/vhosts\/ashwanicloud.tk\/httpdocs<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-black-color\"> $ composer create-project bagisto\/bagisto<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-36.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-36-1024x497.png\" alt=\"bagisto\" class=\"wp-image-12157\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5 &#8211; Changing the Document&#8217;s root path<\/h3>\n\n\n\n<p>Now after installing bagisto, we need to set the document root path and the path should be &#8211; <strong><mark class=\"has-inline-color has-vivid-red-color\">httpdocs\/bagisto\/public<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-42.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-42-1024x496.png\" alt=\"path\" class=\"wp-image-12159\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-43.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-43-1024x455.png\" alt=\"path\" class=\"wp-image-12160\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6 &#8211; Creation of a Database <\/h3>\n\n\n\n<p>Create a database and a user, and after that give the user access to the database with the necessary permissions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-48.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-48-1024x503.png\" alt=\"db\" class=\"wp-image-12161\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7: Bagisto Configuration<\/h2>\n\n\n\n<p>Now create the Bagisto configuration file i.e., &#8216;.env&#8217; in the Bagisto root directory by using the existing &#8216;env.example&#8217; file.<\/p>\n\n\n\n<p><strong>$ cp .env.example .env<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-55.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-55-1024x451.png\" alt=\"env\" class=\"wp-image-12162\"\/><\/a><\/figure>\n\n\n\n<p>Now put the created database details like DB name, username, password, and App URL in the &#8216;.env&#8217; file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-58.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"461\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_14-58-1024x461.png\" alt=\"db\" class=\"wp-image-12163\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Laravel eCommerce Multi-Tenant SaaS Module<\/h2>\n\n\n\n<p><strong>Laravel <a href=\"https:\/\/bagisto.com\/en\/laravel-multi-tenant-saas\/\">Multi-Tenant E-commerce<\/a> SaaS Module:-<\/strong>\u00a0This is an eCommerce virtual mall, where multiple vendors can sign up and create their own e-commerce store with their domain name.<\/p>\n\n\n\n<p>Bagisto is an online <a href=\"https:\/\/bagisto.com\/en\/\">e-commerce platform<\/a> that helps anyone start their e-commerce store within a few minutes without any technical requirements.<\/p>\n\n\n\n<p>However, the merchant<strong>&nbsp;doesn\u2019t need to add any plugin to create their store<\/strong>, it is the full end-to-end integration. You have to just sign up then you can start your business.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Features of Laravel eCommerce Multi-tenant SaaS Module<\/h2>\n\n\n\n<ul>\n<li>Admin can easily set up and manage saas based eCommerce solution<\/li>\n\n\n\n<li>Flexibility and scalability for your business<\/li>\n\n\n\n<li>Multiple eCommerce merchants can access it at a time<\/li>\n\n\n\n<li>The super admin can view the product list of their merchant\u2019s store<\/li>\n\n\n\n<li>Super admin will get the email notification whenever a customer orders a product from his merchant\u2019s store<\/li>\n\n\n\n<li>The super admin can also view the customer data of their merchant\u2019s store<\/li>\n\n\n\n<li>Manage multiple businesses with custom domains or self-provided domains<\/li>\n\n\n\n<li>Super admin can also view the orders of their merchant\u2019s store<\/li>\n\n\n\n<li>The Merchant can Change the domain from channel settings<\/li>\n\n\n\n<li>The Merchant manages their store using their dedicated admin dashboard<\/li>\n\n\n\n<li>Supported the Bagisto Velocity theme<\/li>\n<\/ul>\n\n\n\n<p><strong>Note<\/strong>:-<\/p>\n\n\n\n<ul>\n<li>Do not install Bagisto till you configure this extension.<\/li>\n\n\n\n<li>Do not seed your database at any point using <strong>\u2018php artisan db: seed\u2018<\/strong> (seeding is done automatically when the seller is registered)<\/li>\n\n\n\n<li>Run the command from the root in the terminal \u2018composer create-project<\/li>\n\n\n\n<li>Find the \u2018.env\u2019&nbsp;file in the&nbsp;root directory then change the&nbsp;APP_URL&nbsp;parameter to your application\u2019s domain name.<\/li>\n\n\n\n<li>Add your database credentials in.env&nbsp;where params&nbsp;DB_DATABASE,&nbsp;DB_USERNAME,&nbsp;and DB_PASSWORD&nbsp;should be added as your database credentials.<\/li>\n\n\n\n<li><strong>DB_DATABASE<\/strong>&nbsp;is the name of your database where all the tables will be created.<\/li>\n<\/ul>\n\n\n\n<p>  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"> Step 8: Installation of Laravel eCommerce Multi-Tenant SaaS Module<\/h3>\n\n\n\n<p>Customers will get a&nbsp;<strong>zip folder<\/strong>&nbsp;after purchasing the extension. After that,&nbsp;Unzip the respective extension zip and then merge the \u201c<strong>package<\/strong>\u201d folder into the project root directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"306\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-2-1024x306.png\" alt=\"saas\" class=\"wp-image-12203\"\/><\/a><\/figure>\n\n\n\n<p><strong>1-<\/strong>Go to&nbsp;<strong>config\/app.php<\/strong>&nbsp;file then add the following line under \u2018<strong>providers<\/strong>\u2019 like below<\/p>\n\n\n\n<p><strong>Webkul\\SAASCustomizer\\Providers\\SAASCustomizerServiceProvider::class<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-107.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1005\" height=\"310\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-107.png\" alt=\"saas\" class=\"wp-image-15425\"\/><\/a><\/figure>\n\n\n\n<p><strong>2-<\/strong>Do the below entry in <strong>config\/app.php<\/strong> <strong>\u201caliases\u201c<\/strong><\/p>\n\n\n\n<p><strong>&#8216;Company&#8217; =&gt; Webkul\\SAASCustomizer\\Facades\\Company::class<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-108.png\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"368\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-108.png\" alt=\"saas\" class=\"wp-image-15426\"\/><\/a><\/figure>\n\n\n\n<p><strong>3-<\/strong>Go to <strong>config\/concord.php<\/strong> and<strong> packages\/Webkul\/Core\/src\/Config\/concord.php<\/strong> files and add the following line under the <strong>\u2018modules\u2019 <\/strong>index in both files: <\/p>\n\n\n\n<p><strong>\\Webkul\\SAASCustomizer\\Providers\\ModuleServiceProvider::class<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-109.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"298\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-109.png\" alt=\"saas\" class=\"wp-image-15427\"\/><\/a><\/figure>\n\n\n\n<p><strong>4- <\/strong>Then go to&nbsp;the <strong>composer.json<\/strong>&nbsp;file inside the Bagisto root directory and add the following line under&nbsp;<strong>\u2018psr-4<\/strong>\u2019<\/p>\n\n\n\n<p><strong>&#8220;Webkul\\\\SAASCustomizer\\\\&#8221;:&#8221;packages\/Webkul\/SAASCustomizer\/src&#8221;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-110.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"571\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-110.png\" alt=\"saas\" class=\"wp-image-15428\"\/><\/a><\/figure>\n\n\n\n<p><strong>5-<\/strong>Another entry inside the file(\u2018<strong>app\/Http\/Kernel.php\u2019<\/strong>):<\/p>\n\n\n\n<p>After that, in this file, you can find an array of middleware groups\u2019 inside it there is a key named <strong>\u2018web\u2019<\/strong> inside it does an entry:<\/p>\n\n\n\n<p><strong>\\Webkul\\SAASCustomizer\\Http\\Middleware\\ValidatesDomain::class<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-111.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"159\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-111.png\" alt=\"saas\" class=\"wp-image-15432\"\/><\/a><\/figure>\n\n\n\n<p>remove the code in&nbsp;the <strong>\u2018middleware\u2019<\/strong>&nbsp;array.<\/p>\n\n\n\n<p><strong>\\Webkul\\Core\\Http\\Middleware\\CheckForMaintenanceMode::class,<\/strong><\/p>\n\n\n\n<p>add the code in&nbsp;the <strong>\u2018middleware\u2019<\/strong>&nbsp;array.<\/p>\n\n\n\n<p><strong>\\Webkul\\SAASCustomizer\\Http\\Middleware\\SaasCheckForMaintenanceMode::class,<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-112.png\"><img loading=\"lazy\" decoding=\"async\" width=\"978\" height=\"169\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-112.png\" alt=\"saas\" class=\"wp-image-15433\"\/><\/a><\/figure>\n\n\n\n<p><strong>6-<\/strong>Find a file <strong>auth.php<\/strong> present inside the<strong> config<\/strong> folder from the root and do the following entries:<\/p>\n\n\n\n<p>Insert the below in&nbsp;&#8216;<strong>guards&#8217;<\/strong> array<\/p>\n\n\n\n<p><strong>&#8216;super-admin&#8217; =&gt; [<\/strong><\/p>\n\n\n\n<p><strong>&#8216;driver&#8217; =&gt; &#8216;session&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>&#8216;provider&#8217; =&gt; &#8216;superadmins&#8217;<\/strong><\/p>\n\n\n\n<p><strong>]<\/strong>,<\/p>\n\n\n\n<p><strong>&#8216;super-admin-api&#8217; =&gt; [<br>&#8216;driver&#8217; =&gt; &#8216;jwt&#8217;,<br>&#8216;provider&#8217; =&gt; &#8216;superadmins&#8217;,<br>],<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-113.png\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"287\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-113.png\" alt=\"saas\" class=\"wp-image-15434\"\/><\/a><\/figure>\n\n\n\n<p><strong>7-<\/strong>Then insert the below code in<strong>&nbsp;<\/strong>the<strong> &#8216;provider&#8217;<\/strong>&nbsp;array<\/p>\n\n\n\n<p><strong>&#8216;superadmins&#8217; =&gt; [<\/strong><\/p>\n\n\n\n<p><strong>&#8216;driver&#8217; =&gt; &#8216;eloquent&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>&#8216;model&#8217; =&gt; Webkul\\SAASCustomizer\\Models\\Agent::class<\/strong><\/p>\n\n\n\n<p><strong>]<\/strong>,<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-114.png\"><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"209\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-114.png\" alt=\"saas\" class=\"wp-image-15435\"\/><\/a><\/figure>\n\n\n\n<p><strong>8-<\/strong>insert the below code in the \u2018<strong>passwords<\/strong>\u2018 array<\/p>\n\n\n\n<p><strong>&#8216;superadmins&#8217; =&gt; [<\/strong><\/p>\n\n\n\n<p><strong>&#8216;provider&#8217; =&gt; &#8216;superadmins&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>&#8216;table&#8217; =&gt; &#8216;super_admin_password_resets&#8217;,<\/strong><\/p>\n\n\n\n<p><strong>&#8216;expire&#8217; =&gt; 60,<\/strong><\/p>\n\n\n\n<p>],<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-115.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"285\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2023\/02\/image-115.png\" alt=\"saas\" class=\"wp-image-15436\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"> Step 9: Install Free SSL for the site<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-05.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"478\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-05-1024x478.png\" alt=\"ssl\" class=\"wp-image-12167\"\/><\/a><\/figure>\n\n\n\n<p>Install a Let&#8217;s Encrypt free basic certificate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-06.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"491\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-06-1024x491.png\" alt=\"ssl\" class=\"wp-image-12168\"\/><\/a><\/figure>\n\n\n\n<p>SSL\/TLS Certificate for Domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-08.png\"><img loading=\"lazy\" decoding=\"async\" width=\"884\" height=\"611\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-08.png\" alt=\"ssl\" class=\"wp-image-12169\"\/><\/a><\/figure>\n\n\n\n<p>Add the below TXT records in DNS Manager in order to generate the wildcard SSL. After adding the record click on reload button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-11_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"523\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-11_1.png\" alt=\"ssl\" class=\"wp-image-12170\"\/><\/a><\/figure>\n\n\n\n<p>In my case, I am using Cloudflare as a DNS manager, <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"978\" height=\"601\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-11.png\" alt=\"ssl\" class=\"wp-image-12171\"\/><\/a><\/figure>\n\n\n\n<p><strong>Adding Sub Domain<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-16.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"459\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-06_15-16-1024x459.png\" alt=\"ssl\" class=\"wp-image-12173\"\/><\/a><\/figure>\n\n\n\n<p>Now open the terminal and run the below command on the Bagisto root directory.<\/p>\n\n\n\n<p>$ <strong>composer dump-autoload<\/strong><\/p>\n\n\n\n<p>$ <strong>php artisan SAAS:install<\/strong><\/p>\n\n\n\n<p>* Access the super admin panel using:<strong>&nbsp;https:\/\/ashwanicloud.tk\/super\/login.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"675\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-6.png\" alt=\"admin\" class=\"wp-image-12215\"\/><\/a><\/figure>\n\n\n\n<p>Access the dashboard after that by going to <strong>https:\/\/ashwanicloud.tk\/company\/register<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-10_12-41.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-10_12-41-1024x552.png\" alt=\"tenant\" class=\"wp-image-12206\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"merchant-registration\">Merchant Registration<\/h2>\n\n\n\n<p>There are three steps to register on the SaaS module.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-3-1024x503.png\" alt=\"tenent\" class=\"wp-image-12209\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1:<\/strong><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>&nbsp;The<\/strong>&nbsp;merchant<\/span> has to enter the Authentication Credentials like&nbsp;<strong>email, and password, confirm the password<\/strong>&nbsp;then click on Continue.<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/image-4-1024x476.png\" alt=\"tenant\" class=\"wp-image-12210\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step2:<\/strong><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>&nbsp;The<\/strong>&nbsp;merchant<\/span> has to enter the Personal details like First Name, Last Name, Phone number<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-photo is-provider-bagisto wp-block-embed-bagisto\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/bagisto.com\/en\/laravel-multi-tenant-saas\/\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3:<\/strong><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>&nbsp;The<\/strong>&nbsp;merchant<\/span> has to enter the Organization details like user name and Organization name.<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-10_12-50.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-10_12-50-1024x551.png\" alt=\"tenant\" class=\"wp-image-12213\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"merchant-front-end\">Merchant Front end<\/h2>\n\n\n\n<p>Therefore after registration, the seller&#8217;s front will look like<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-10_12-50_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/2022-10-10_12-50_1-1024x551.png\" alt=\"tenant\" class=\"wp-image-12214\"\/><\/a><\/figure>\n\n\n\n<p>The tenant has been created successfully, so by following the same procedure you can create multiple tenants on your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Need Support?<\/h2>\n\n\n\n<p>Thank You for reading this Blog!<\/p>\n\n\n\n<p>For further more interesting blogs, keep in touch with us. If you need any kind of support, simply raise a ticket at&nbsp;<strong><a href=\"https:\/\/webkul.uvdesk.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/webkul.uvdesk.com\/en\/<\/a>.<\/strong><\/p>\n\n\n\n<p><strong>For further help or queries, please&nbsp;<a href=\"https:\/\/cloudkul.com\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">contact<\/a>&nbsp;us or raise a&nbsp;<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\" target=\"_blank\" rel=\"noreferrer noopener\">ticket<\/a>.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Software as a Service is a new approach in the replacement of traditional software license <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[454,2,87,96],"tags":[213,568,785,67,786],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Bagisto SAAS Installation on Plesk - Cloudkul<\/title>\n<meta name=\"description\" content=\"Software as a Service is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Bagisto SAAS Installation on Plesk - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"Software as a Service is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-10T07:39:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-13T11:25:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/PLesk.png\" \/>\n<meta name=\"author\" content=\"Saransh Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/\",\"name\":\"The Bagisto SAAS Installation on Plesk - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2023-03-10T07:39:48+00:00\",\"dateModified\":\"2024-12-13T11:25:37+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4\"},\"description\":\"Software as a Service is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Bagisto SAAS Installation on Plesk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4\",\"name\":\"Saransh Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Saransh Gupta\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/saranshgupta-cloud712\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Bagisto SAAS Installation on Plesk - Cloudkul","description":"Software as a Service is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/","og_locale":"en_US","og_type":"article","og_title":"The Bagisto SAAS Installation on Plesk - Cloudkul","og_description":"Software as a Service is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays.","og_url":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/","og_site_name":"Cloudkul","article_published_time":"2023-03-10T07:39:48+00:00","article_modified_time":"2024-12-13T11:25:37+00:00","og_image":[{"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2022\/10\/PLesk.png"}],"author":"Saransh Gupta","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/","url":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/","name":"The Bagisto SAAS Installation on Plesk - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2023-03-10T07:39:48+00:00","dateModified":"2024-12-13T11:25:37+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4"},"description":"Software as a Service is a new approach in the replacement of traditional software license purchases. SaaS Business is very fastest-growing technology nowadays.","breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/the-bagisto-saas-installation-on-plesk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Bagisto SAAS Installation on Plesk"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/192dfa8a1a34baf98d1dcd9b9f2cbdb4","name":"Saransh Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/90cd23bb6492ae259a2882d76832579a?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Saransh Gupta"},"url":"https:\/\/cloudkul.com\/blog\/author\/saranshgupta-cloud712\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/12120"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=12120"}],"version-history":[{"count":80,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/12120\/revisions"}],"predecessor-version":[{"id":18979,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/12120\/revisions\/18979"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=12120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=12120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=12120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}