Skip to content

paulcmpdev/generate-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate quotes sample

Generate Quotes sample

This example uses a fictitious Shuttle Bus Rental Service. The sample allows a salesperson to quickly determine which of the company’s services match the customer’s requirements. This example uses HubSpot quotes, but it adds a custom UI inside the CRM so that users can quickly and intuitively create specialized quotes with a lower margin for error than using the full featured quote tool.

We recommend installing this sample in a Sandbox account.

Quick Start

Step 1: Update your CLI and & authenticate your account

  1. Update to latest CLI version by running npm install -g @hubspot/cli@latest.
  2. Run hs init if you haven’t already done so to create a config file for your parent account.
  3. Run hs auth to authenticate your account. Alternatively, select your pre-authenticated account with hs accounts use.

Step 2: Create the project

In the folder where you want this sample to be cloned, create a new project by running hs project create --templateSource="HubSpot/ui-extensions-examples" --location="generate-quotes" --name="generate-quotes" --template="generate-quotes"

Step 3: Import sample products

Import sample products into your HubSpot account:

  1. Inside your HubSpot account, click the settings gear icon.
  2. In the left sidebar menu under Data Management, choose Import & Export.
  3. Click the Go to import button, then on the following screen click Start an import.
  4. Choose Import file from computer, then one file, then one object, then select the Products.
  5. Select the products.csv file in this project and click Next and then Finish to finish the import.

Step 4: Install dependencies

Now in the CLI, enter into this newly created folder by cd generate-quotes. Run npm install to install the dependencies for this project.

Step 5: Upload project

Run hs project upload. Alternatively, if you’d like to build on this project, run hs project dev to kickoff the dev process and see changes reflected locally as you build.

Step 6: Create a deal and view the card

HubSpot quotes are always associated with a deal record to track the progress of the quote. If you don’t have any deals in the account you’re using to view this sample, create a deal now.

  1. In the main menu, select Sales > Deals.
  2. Click Create deal in the top right hand corner and fill in all required fields. Click create once you’ve finished filling in your deal details.
  3. Your new deal should appear in the Deals table. Select it and navigate to the custom tab in the middle pane to access the Shuttle bus quotes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published