Jump to content

External API Key (Not Google Analytics or Amazon)

Recommended Posts

Posted

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

The short answer is that you can't add unsupported third party API keys to Squarespace website because you have no access to the server side, where such keys can be securely saved.

There are a few ways to integrate third-party APIs:

  • Frontend Integration: You can integrate APIs directly in the browser using JavaScript. This works well for APIs that don't require hidden keys or those that support CORS. 
  • External Tools: Platforms like Zapier or Make.com can be used as a bridge to connect Squarespace with other services. These tools automate tasks such as syncing data with a CRM, all without needing server-side access.

  • Webhooks: Squarespace Commerce has webhook support to automate e-commerce activities like order processing and inventory updates, which can then trigger responses on external platforms in real-time.

If you need to securely store an API secret, middleware solutions like Zapier or Make.com are useful. These platforms can call the API, retrieve content from the service it relates to, and then pass it back to the browser frontend.

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
You might want to check out my
Squarespace Template Finder or read my Squarespace tips
Speaking of tips, 💲I've got a tip jar. Feel free to throw a few quid into if you think I've helped you. 

If you're looking for a Squarespace developer Book a chat or Drop me a line - first meeting is always free  

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.