Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Update README.md to teach using secrets correctly #98

Merged
merged 2 commits into from
Jan 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Join [#events-app-beta](https://hubspotdev.slack.com/archives/C011GFF8KNZ) in th
1. Clone this repo to your machine
2. Install dependencies by running `yarn install`
3. Run `yarn create-table --portal <portalId>` to create the HubDB table where you will manage your events
4. Add your [HubSpot API key](https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key) for the portal by running `yarn hs secrets add APIKEY` and pasting in your API key. The API key is used by `eventSignup.js` to update the HubDB table
4. Add your [HubSpot API key](https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key) for the portal by running `yarn hs secrets add APIKEY` then paste in your API key when prompted. The API key is used by `eventSignup.js` to update the HubDB table
5. Run `yarn start` which will build the javascript, auto-upload the files to your `defaultPortal`, and watch for changes
6. Registrations are stored in the CRM using the [Forms API](https://developers.hubspot.com/docs/methods/forms/forms_overview). You'll need to create a form with the fields:
- First name
Expand Down