Organization Settings

Expand the following sections to find out more about different functionality available in SEED.

Setting up a Public Feed

Enabling and Configuring your Organization's Public Feed

Organization owners can enable a Public Feed of their properties and tax lots. They can select a subset of fields that will be made public. The public feed is available in JSON and HTML formats.

The Public Feed functionality can be enabled from the organization settings page. From this same page you can choose to expose the labels applied in the public feed.

Enable the Public Feed Functionality

Once the functionality is enabled, navigate to the Organization Sharing page. From this page, you can set up which fields should be shared by checking the checkbox next to each field. Both property and tax lot fields will be listed, and you can use the filters on the top of the table to refine your search.

Configure the Public Feed

The Public Feed is available at the following URL: {SEED URL}/api/v3/public/organizations/{ORGANIZATION ID}/feed.json where {SEED URL} is the URL of your SEED instance (https://seedv2.lbl.gov, for example), and {ORGANIZATION ID} is the ID of your organization within SEED.

The Public Feed page will load a JSON view of the data that you have configured to share publicly, organized by cycle. The ‘id’ key shown here corresponds to a ‘property view’ in SEED, which represents the building data in a specific cycle. The ‘pagination’ section provides statistics on the number of properties available, the ‘query_params’ section returns the filters that were applied to generate this list, and the list of buildings can be found in the ‘data’ section.

JSON Public Feed

Public Feed Filtering Details

The public feed endpoint returns property and tax lot data for a given organization as a json object. The results are ordered by "last updated". Optional and configurable URL query parameters:

  • labels - if enabled, comma-separated list of case sensitive label names. Results will include inventory that has any of the listed labels. Default is all inventory
  • cycles - comma-separated list of cycle IDs. Results include inventory from the listed cycles. Default is all cycles
  • properties - boolean to return properties. Default is True
  • taxlots - boolean to return tax lots. Default is True
  • page - integer page number. Default is 1
  • per_page - integer results per page. Default is 100

Example Requests

{SEED URL}/api/v3/public/organizations/{organization_id}/feed.json?{query_param1}={value1}&{query_param2}={value2}

{SEED URL}/api/v3/public/organizations/{organization_id}/feed.json?page=1

{SEED URL}/api/v3/public/organizations/{organization_id}/feed.json?page=2&labels=Compliant&cycles=1,2,3&taxlots=False

Enabling Two-Factor Authentication

Two-Factor Authentication for SEED Login

SEED now supports Two-Factor Authentication. Two-Factor authentication requires users to provide two pieces of identification to access the site: the password as well as a verification code.

SEED users can choose to enable Two-Factor Authentication; they can also choose their method of verification. SEED's Two-Factor Authentication implementation supports email verification as well as verification via a token generator app. Example token generator apps include Google Authenticator, Microsoft Authenticator, Authy, or the Authenticator extension for the Chrome browser.

To enable Two-Factor Authentication, first sign in to the SEED Platform. Once you are signed in, navigate to the menu item with the gear icon and your name (the first one in the left navigation bar). This will take you to your profile page. From there, select the 'Two-Factor Profile' tab from the top of the page.

Two-Factor Profile Page

From this page, you can see the Two-Factor Authentication method currently enabled (if any). You can also select a method to enable. The Email method will send an email message with a verification code each time you sign in to the site. You will need to enter this code to gain access to your SEED organization. The Token Generator method will prompt you to configure a Token Generator app of your choosing to generate a code for you to sign in to your SEED organization. When selecting this method, a QR code will be generated that you can scan with your selected Token Generator app.

Two-Factor Token Generator Configuration

Two-Factor Authentication can be enabled on a per-user basis. Alternatively, an organization admin can choose to require Two-Factor Authentication for all of its users. This functionality can be enabled from the Organization Settings page:

Enabling Two-Factor for all members of an organization

Once this functionality is enabled at the organization level, all members of the organization will be prompted to enable Two-Factor Authentication at their next sign in:

Message showing user that they must enable Two-Factor Authentication for this organization

Connecting to a Salesforce Instance and Configuring Automatic Updates

Connection to Salesforce and Configuring Automatic Updates

The SEED platform now supports a Salesforce connection via automatic updates to Salesforce Benchmark objects. As each jurisdiction’s Salesforce setup will be unique, SEED enables a high degree of customization for this functionality that should be able to support most cases.

Prerequisites

The SEED-Salesforce process requires that the Salesforce instance configure the Accounts, Contacts, Properties, and Benchmarks objects. SEED will mostly interact with Salesforce by updating the Benchmark objects that are associated with Properties; SEED is also capable of creating Account and Contact objects in Salesforce.

Process Overview

  1. Add a Contact and Account to Salesforce. The Account/Contact relationship is important and dictated by Salesforce
  2. Add a Property to Salesforce.
  3. Add a Benchmark to a Salesforce Property.
  4. In the SEED data import spreadsheet, ensure that there is a column for the unique Benchmark Salesforce ID used to track the benchmark. The name of this field is customizable and needs to be identified in the organization settings page. For this overview we will refer to it as "Benchmark Salesforce ID". This ID can be retrieved from Salesforce and will correspond to a Property within a specific cycle in SEED.
  5. Import the data spreadsheet into SEED in a particular cycle
  6. Manually add the indication label (ex: “Add to Salesforce” label) to any SEED property record that you want to sync with Salesforce. This label is specified in the SEED organization settings page (more information on that later). You may need to add a new label to SEED to capture this information.

  7. According to the organization's custom workflow, add either a "complied" or "violation" label to SEED property records. Data quality checks can also be configured to add labels automatically based on certain criteria. You may need to add new labels to SEED to capture this information.

  8. Update Salesforce either on demand or on an interval customized in the organization settings page. Check each SEED record with the "Add to Salesforce" label applied. If a record was updated after the last update timestamp AND the SEED record has a populated "Benchmark Salesforce ID" field, it is eligible for a Salesforce update. The update process is detailed below:

    • Step 1 - Check for Contact and Account matches in Salesforce. The process matches on Email for contact (stored in a designated field in SEED as specified in the organization settings), and Name (stored in a designated field in SEED as specified in the organization settings ) for Account. If no Contact or Account objects are found, the process will create the Salesforce objects and associated them with the Benchmark object.

    • Step 2 - Retrieve the SEED record's applied labels. If the "complied" label is applied OR the "violation" label is applied (but not both and not none), the record can be updated. If both the "complied" and "violation" labels are applied, or neither, an error will be logged and the Salesforce record will not be updated.

    • Step 3 - Prepare the Salesforce Update by mapping the SEED fields to Salesforce's Benchmark Object fields. These mappings are all customizable and defined in the organization settings page.

    • Step 4 - If the "violation" label is applied, a subset of Salesforce fields will be updated: Status, SEED labels, contact Name, Property Data Administrator.

    • Step 5 - If the "complied" label is applied, all mapped Salesforce Benchmark fields will be updated

Available Configurations

The SEED to Salesforce process requires quite a few customizations. These can all be made in the Salesforce section of the organization settings page in SEED. The first step is to enable Salesforce Integration:

SEED Organization Settings Page showing the enable salesforce checkbox

Connection Information

Once enable, the Salesforce instance's information can be entered, and the connection can be tested. You will need to enter the salesforce instance URL, the username, password, and security token to use for connecting. The Domain input only needs to be filled out if you are using a sandbox Salesforce instance; otherwise this field should be left blank. The security token can be retrieved by navigating to your Salesforce profile page, then selecting "Reset My Security Token" from the left navigation menu. You will then receive an email with the new security token.

Salesforce Connection Details section on the SEED Organization Settings Page

To test the connection, enter your credentials and click the 'Test' button to ensure that you can connect to your Salesforce instance.

Scheduled Update Customization

The SEED to Salesforce Update workflow can be configured to run automatically on a daily interval at a specific time of the day. To enable this functionality, provide: - The Hour and Minute at which to run the automatic update process - An email address where any errors encountered should be sent

The web interface will display a timestamp of the last time the update process was run as well as a method to clear this timestamp. The date is used to compare SEED property updated at timestamps: only those properties with a timestamp later than the 'last run timestamp' are considered for an update. It may be necessary to clear this timestamp for troubleshooting purposes.

Scheduled Daily Update section on the SEED Organization Settings Page

Workflow Customizations

The next section contains several fields that can be used to customize the SEED to Salesforce workflow.

Labels

The SEED to Salesforce workflow is dependent on 3 different labels in order to perform updates: - The Indication label indicates that a property should be considered for updates in Salesforce. It is required by the workflow. - The Compliance label indicates that a property has been identified as being compliant and that all relevant fields can be updated in the Salesforce benchmark object. - The Violation label indicates that there is a problem with the data and only the status should be updated in the Salesforce benchmark object.

Either the Compliance label or the Violation label (and not both) is required to update Salesforce.

Unique Benchmark ID

A unique benchmark ID is required both on the Salesforce side and on the SEED side to uniquely identify the benchmark to update. Information on the field name in Salesforce (the api name, not the field's display name) and the column in SEED is required to enable this workflow.

Additional non-property fields

The remaining fields in this section are optional and can be configured if your Salesforce object captures this information: - Cycle Name – the name of the Salesforce Benchmark field in which to store this information (api name, not display name) - Status Label — the name of the Salesforce Benchmark field in which to store the compliance or violation status label applied (api name, not display name) - All Labels field — the name of the Salesforce Benchmark field in which to store a string of all the SEED label names assigned to a property (api name, not display name)

Salesforce Configuration Details section on the SEED Organization Settings Page

Contacts and Accounts Customizations

The next section configures the Contacts and Accounts creation functionality. This is used to notify the Property Benchmarking Contact of the status of their Benchmark from within Salesforce. Since contact information can change over the life of a benchmarking program, it may be necessary to update contact information each year. Salesforce stores this information in a Contact object, which must be tied to an Account object. If contacts and accounts for the specific users do not exist, they will be automatically created by the SEED to Salesforce workflow, provided that the following fields are configured.

Contact and Account Object Record Types

Contact Record Types section on the SEED Organization Settings Page

  • Account Object Record Type - If your Salesforce instance has multiple account types, provide the Record Type ID of the type of account to use when accounts are automatically created by SEED

  • Contact Object Record Type - If your Salesforce instance has multiple contact types (for example: Assessor, Benchmark Contact, Contact), provide the Record Type ID of the type to use when contacts are automatically created by SEED. The Record Type ID can be found in Salesforce by navigating to Setup-> Object Manager, then selecting the Contact object and clicking on Record Types from the left nav. Lastly, click on the record type you want to select and inspect the URL. The Record type ID will be at the end of the URL, right before "/view".

For example, the Record Type ID in the following URL is 0133w000000ZrdFBBX:

https://my-salesforce.com/lightning/setup/ObjectManager/Contact/RecordTypes/0133w000000ZrdFBBX/view.

Once these are configured, configure the Main Contact and the Property Data Administrator Contact (where applicable). The two sections are very similar but represent two different contacts that may be used in an organization's workflow:

  • Main Contact Details

Main Contact section on the SEED Organization Settings Page

  • Data Administrator Contact

Data Administrator Contact section on the SEED Organization Settings Page

Benchmark Mapping Customizations

The Salesforce Benchmark record can contain many custom fields which need to be populated from data in SEED. This process will need to be customized for each organization. A web interface is provided to map each Salesforce Benchmark record field to its SEED column containing the data:

Salesforce Field Mappings section on the SEED Organization Settings Page

Once you have completed these sections, click the Save button.

Triggering the SEED to Salesforce Workflow

There are a few ways to trigger a Salesforce update from SEED. The prerequisites for a successful sync are that the Salesforce functionality be enabled and configured in the SEED Organization Settings page as detailed in the previous section.

Manually Update Salesforce for a single property

The update can be manually triggered for a single property from the property’s Inventory Detail Page in SEED and selecting 'Update Salesforce' from the Actions Dropdown button at the top of the page. This functionality will ignore the last update date and will force an update in Salesforce. The success or failure of the operation will be displayed in a notification on the screen.

Update Salesforce Action for a single Property in SEED

Manually Update Salesforce for Multiple Properties

Similarly, the Salesforce update can be manually triggered for a selected number of properties from the Property Inventory Page in SEED. Select the properties you would like to update in the table, then select 'Update Salesforce' from the Actions dropdown at the top of the page. This functionality will ignore the last update date and will force an update in Salesforce. The success or failure of the operation will be displayed in a notification on the screen.

Update Salesforce Action for Multiple Properties in SEED

Automatic Daily Update

If the scheduled daily update section of the Settings page is configured, automatic daily updates will occur at the specified hour and minute each day. A log of any errors encountered will be sent to the email specified in the Organization Settings Page.

Connecting your SEED organization to Audit Template

Connecting your SEED organization to Audit Template

The SEED Platform supports connection to Audit Template that can be configured by a Jurisdictional Administrator within the SEED Platform’s settings. This can be configured to automatically update SEED with Audit Template submissions on a schedule set by the Jurisdictional Administrator. Additional Audit Template options are also available to enable users to update bulk or individual property records with Audit Template data on a case-by-case basis.

Prerequisites

  • Jurisdiction Users must have both a SEED account and an Audit Template account with a customized report template for their jurisdiction.
  • The ID used to distinguish a unique building in Audit Template must also be mapped to ‘Custom ID 1’ in SEED when the initial data import is performed. This will be the unique ID that enables the linking of Audit Template and SEED property data for individual buildings.
  • Data must be mapped to a cycle that matches across SEED and Audit Template data. For example, if you want 2024 benchmarking data in SEED to be enriched with Audit Template Data, then SEED data should be matched to the 2024 cycle, and you should ensure that the Audit Template records also contain data from 2024.
    • SEED is currently using Audit Template submission date to associate a submission to a property within a specific cycle in SEED. This functionality will be enhanced for flexibility in future SEED updates.

Process Overview

  1. Request a SEED Account. a. Configure your cycle and matching criteria for your SEED organization b. Import your initial list of buildings in SEED. Ensure that the unique identifier (sometimes called ‘Tax ID’ in Audit Template) is mapped to the “Custom ID 1” field in SEED.
  2. Request an Audit Template Account at https://buildingenergyscore.energy.gov/ a. Work with the Audit Template team to configure a customized Report Template for your jurisdiction.
  3. Configure the Audit Template connection in SEED settings. a. Get the Audit Template API Token for the Organization from Audit Template. b. Get the Audit Template City ID from Audit Template. c. Link SEED to Audit Template using the API Token, Audit Template user login credentials, and City ID in the SEED Settings. d. Select additional options for update cadence, report type, and submission type.
  4. If desired, set automatic update cadence in SEED settings.
  5. Save changes to finalize API connection and update schedule.
  6. After entering the information above into SEED settings, import submissions to update SEED records with Audit Template records.

Step 1: Configure your SEED Account

If you do not already have a SEED account, request one. Configure your first cycle, configure your matching criteria fields, and import your initial dataset into SEED. Ensure that the unique identifier (sometimes called ‘Tax ID’ in Audit Template) is mapped to the “Custom ID 1” field in SEED.

Step 2: Configure your Audit Template Account

You will first need to obtain Audit Template login credentials and configure the customized report template for your jurisdiction if that has not been done already.

You can then retrieve the API token and City ID from Audit Template. The API Token can be obtained by first clicking on the “Cities” dropdown, selecting your city ,then clicking on the profile icon and selecting edit account. Under the account options, you will see the Organization API Token listed next to your organization. If this is not available, make sure that your account is linked to your Audit Template city / organization / jurisdiction.

Audit Template Select City

Audit Template Profile Menu

Audit Template Organization API Token

You will also need the City ID number from Audit Template. This can be found by clicking on the “Cities” dropdown, selecting the city you are interested in, then looking at the URL in your browser. The number at the end of the URL is the City ID.

Audit Template City ID

Next, navigate to SEED and login. If you use SEED for multiple jurisdictions, make sure that the organization listed in the upper right-hand corner of the page is the one you intend to work with. Click on the “+” sign in the upper right-hand corner of the screen, then navigate to “Settings” using this dropdown.

SEED organization settings menu

In the “Settings” page, select “Audit Template” from the menu options near the left. Then paste the Audit Template Organization Token into the appropriate field. Next, enter your Audit Template email and password into the appropriate fields, enter the city ID, and select the Audit Template Submission Statuses that you want to import. The default report type in Audit Template is “Submitted”. You can also select the Conditional Import option in this step. If Conditional Import is selected, then SEED will only import audit template submissions that have been submitted more recently than the SEED records’ most recent update. If left unchecked, then all Audit Template submissions will be imported (each time the automatic update is triggered), regardless of their submission date. The Audit Template Report Type is not used in this workflow and can be left unset. After entering the required data, click “Import Submissions” to pull Audit Template submissions into SEED. This will open a status popup showing a summary of imported records once the import is complete.

SEED Audit Template Menu

Step 4: Schedule Update Cadence for Auto-Sync

After linking Audit Template data to SEED in settings, you will want to set a schedule for a weekly update to ensure auto-syncing of data from AT to SEED. Navigate to the same Settings page and Audit Template option described in the previous section. “Schedule Weekly Update” options can be found near the bottom of this page.

In the “Schedule Weekly Update” section, select “Enable Audit Template Auto Sync” and then enter the desired day of week and time of day. We recommend enabling a weekly automatic update and enabling the Condition Index so that only new submissions are imported in SEED each week.

SEED Audit Template Update Scheduling

Step 5: Save Changes

To finalize the connection between Audit Template and SEED, as well as the weekly update cadence for auto-sync, review your entries in the steps above and then click on Save Changes.

Step 6: Test the import submissions workflow

At this point you can either wait until the auto-sync imports submissions into SEED, or you can manually import the submissions one of three ways:

  • Method 1: Import Submissions from the Settings Page

    This method is good for testing the connection. From SEED’s organization settings page, press the “Import Submission” button. A modal will open displaying the update method selected (either “All Data” or “Most Recent Data”). Click “Import” to begin the import process.

    SEED Import Audit Template Submissions from the Settings Page

    The modal will then open up with the results of the update. Properties updated will be listed as well as any failures encountered.

    SEED Import Audit Template confirmation pop-up

  • Method 2: Import Submissions from the Inventory List Page

    Navigate to the Inventory List page and select the properties you want to update. From the Actions dropdown menu, select the “Update with Audit Template” Option. The same import modal as shown above will open to confirm the update and display the results when done.

    SEED Import Audit Template Submissions from the Inventory List Page

  • Method 3: Import Submission from a Property’s Detail Page

    You can also update a single property by navigating to that property’s page and selecting the ‘Update with Audit Template” option from the Actions dropdown menu. The same modal will open up to confirm the update and display the results.