Secure WebSocket (WSS) Quick-Start Guide

Install Confection just about anywhere using our Secure WebSocket (WSS). It takes just a few steps.

Issues? Questions? Feedback? Leave a comment. Already have a Confection account? Skip to step three. New to Confection? Learn more here.

Get Started

Step One

If you haven’t already, create a Confection account. (It’s free.) If you already have a Confection account, log in.

Continue to Step 2

Step Two

Click “My Account” (or “Set Up My Account” if you’re accessing your account for the first time). Enter your contact information, the domain(s) on which you want to use Confection, and select one of our two data storage options. Then, click “Save Changes.”

Continue to Step 3

Step Three

Click "API Keys" (or "Get My Keys" if you're accessing your account for the first time). Copy your account ID.

Continue to Step 4

Step Four

Inside your Confection account, click "Install Confection," and download Confection's WSS script. Upload confection-generator.js to a server, CDN, &c. that you control. You'll need the link to this script later in this process.

Copy and paste the follwing above your site's </head> tag:


Be sure to replace %%%ACCOUNT_ID%%% with your account ID from step three. Replace the other variables as suggested in the code comments. Lastly, replace <script src="//example.com/scripts/confection-generator.js"></script> with the URL of the confection-generator.js script you uploaded earlier in this step.

For example, if you uploaded the script to mycdn.domain.com/confection-generator.js, the last line of your code block would read <script src="//mycdn.domain.com/confection-generator.js"></script>

That's it. You're done.


“I have some questions.”

Next Steps

Install & Integrate Elsewhere

Find Other Quick-Start Guides

"I have some questions."

Contact Us

"I want to see this."

Share It

Send Confection Data Anywhere

After installing Confection, use your account API or our Zapier integration to send data to any number of different endpoints.

“I’d like some help with this.”

Discussion

Questions or comments about using Confection with Secure WebSocket (WSS)? Leave them below.

"Please contact me. I have some questions."

You can also use the chat app in the lower right corner.