🎽
Ciseco - Hydrogen Shopify's Headless storefront
Preview demoBuy Ciseco
  • 💝A few words of thanks
  • 🌟Hydrogen and Oxygen fundamentals
  • 👋Getting started
  • Getting started
    • Step 1. Getting started with Ciseco - Hydrogen and Oxygen
    • Step 2. Import Definitions and demo entries.
    • Step 3. Deploy to Oxygen
    • Step 4. Setup for using Customer Account API (/account route)
    • Step 5. Congratulations!
  • Ciseco with Development store
    • 🐣Ciseco test with development store
    • Step 1. Install the required apps
    • Step 2. Setup environment variables.
    • Step 3. Setup for using Customer Account API (/account route)
    • Step 4. Install node_module and run on localhost
    • Step 5. Import Definitions and demo entries.
    • Step 6. Deployments
    • Step 6.1. Deployments with GitHub
    • Redirect traffic to the Hydrogen channel
  • Ciseco's features
    • Display the color variant options as image swatch
    • Wishlist
    • Header mega menu
    • Footer menus
    • Product reviews with Okendo
    • Smart filter feature
    • Use the Shopify checkout
    • Customize pages and sections?
    • Add new page
    • Ciseco metaobject definitions and metafield definitions
      • 1 - Product Metafield definitions and Collection Metafield definitions
      • 2 - Link, Social
      • 3 - Hero Item, Section | Hero, Section | HeroSlider
      • 4 - Client Say, Section | ClientsSay
      • 5 - Section | LatestBlog
      • 6 - Section | GridProductsAndFilter
      • 7 - Collection Group, Section | TabsCollectionsByGroup
      • 8 - Section | ImageWithText
      • 9 - Section | Steps
      • 10 - Section | ProductsSlider
      • 11 - Section | CollectionsSlider
      • 12 - Route
    • Custom color, fonts
    • Favicon & Seo
    • Internationalization with Shopify Markets
    • ⁉️Getting the problem while importing demo metaobjects entries.
  • Folder Structure
  • Component Structure
  • Sources And Credits
  • Support
  • Change log
    • Update project
    • Change log
Powered by GitBook
On this page
  • Requirements
  • Step 1: Enable Customer Account API access
  • Step 2: Enable the new customer account experience

Was this helpful?

  1. Getting started

Step 4. Setup for using Customer Account API (/account route)

Setup for using Customer Account API (/account section)

PreviousStep 3. Deploy to OxygenNextStep 5. Congratulations!

Last updated 12 months ago

Was this helpful?

Requirements

  • You have Apps and channels permissions on the Shopify store that you're working with.

  • You have installed the or sales channel from the Shopify App Store.

Step 1: Enable Customer Account API access

To use the Customer Account API, you first need to enable it and get your access credentials.

  1. From your Shopify admin, under Sales channels, click Headless or Hydrogen.

  2. Select your storefront.

  3. Complete one of the following steps:

    • If you selected Headless, then navigate to Customer Account API settings.

    • If you selected, Hydrogen, then navigate to Storefront settings.

  4. Optional: Modify the client type.

    • Public clients: For applications that are strictly client-side, or that don't have a server-side session where to store the refresh token safely (for example, SPA, mobile applications, or Hydrogen).

    • Confidential clients: For applications that have a back-end to perform the authorization request and a server-side session to hold the refresh token (for example, Express.js, ASP.NET, or Rails).

  5. From the Credentials section, copy the client ID (and client secret, if applicable) to use in your requests.

Step 2: Enable the new customer account experience

  1. From your Shopify admin, click Settings.

  2. Click Customer accounts

  3. Under Accounts in online store and checkout section, click on Edit

  4. Choose New customer accounts

  5. Click Save.

Shopify's is required to use the Customer Account API. New customer accounts allow you to seamlessly persist customer logins across online store, Hydrogen, and checkout.

A image of Customer account settings and the new customer accounts experience selected
Headless
Hydrogen
new customer account experience