Skip to content

Instantly share code, notes, and snippets.

@tonyspiro
Created August 24, 2022 14:23
Show Gist options
  • Save tonyspiro/0822dc167019b36af44a4b76080302b6 to your computer and use it in GitHub Desktop.
Save tonyspiro/0822dc167019b36af44a4b76080302b6 to your computer and use it in GitHub Desktop.
Connect to your Cosmic Bucket
const bucket = api.bucket({
slug: "YOUR_BUCKET_SLUG",
read_key: "YOUR_BUCKET_READ_KEY",
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment