DreamHouse Sample Application
DreamHouse is a sample application that demonstrates the unique value proposition of the Salesforce platform for building Employee Productivity and Customer Engagement apps.
Check out the DreamHouse microsite for more information.
Installation Instructions
-
Install Salesforce DX. Enable the Dev Hub in your org or sign up for a Dev Hub trial org and install the Salesforce DX CLI. Follow the instructions in the Salesforce DX Setup Guide or in the App Development with Salesforce DX Trailhead module.
-
Clone the dreamhouse-sfdx repository:
git clone https://github.com/dreamhouseapp/dreamhouse-sfdx cd dreamhouse-sfdx
-
Create a scratch org and provide it with an alias (dh):
sfdx force:org:create -s -f config/project-scratch-def.json -a dh
-
Push the app to your scratch org:
sfdx force:source:push
-
Assign the dreamhouse permission set to the default user:
sfdx force:user:permset:assign -n dreamhouse
-
Open the scratch org:
sfdx force:org:open
-
In Setup, type theme in the quick find box. Click Themes and Branding, and flip the toggle to hide background images in Lightning Experience.
-
Select DreamHouse in the App Launcher
-
Click the Data Import tab and click Initialize Sample Data
Enabling Visual Search
Optional instruction to enable visual search in the Property Finder and Property Explorer pages:
-
Get an Einstein Platform Services account. Follow the instructions here.
-
In Salesforce, click the Files tab and upload einstein_platform.pem.
-
In Setup, type Custom in the Quick Find box and click the Custom Settings link.
-
Click the first New Button (at the top of the screen).
-
For Einstein Vision Email, specify the email address you used when you created your Einstein Platform Services account (step 1), and click Save.
-
In the DreamHouse app, click the Einstein Vision tab.
-
Click the Create Dataset button.
-
In the houses tile, click the Train button, the click the Models tab.
-
Click the Refresh Models button until the Progress column indicates 100%.
-
Copy the Model Id in your clipboard.
-
Click the Property Finder Tab, click the gear icon (upper right corner), and click Edit Page. Click the Filters component and paste the Model Id in the Einstein Model Id field in the right sidebar. Save the page.
-
Repeat the last step for the Property Explorer page.
You can now search houses by uploading (or dropping) a picture in the visual search box that is part of the Filters component on the Property Finder and Property Explorer pages.