You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you improve your documentation? Most people don't care about all the options and API if they cannot simply authenticate successfully. Can you add a code sample E2E do to exactly that?
Currently you have this, which is trying to help but it doesn't. You still need something else to know if your creds work
import '@shopify/shopify-api/adapters/node';
import {shopifyApi, LATEST_API_VERSION} from '@shopify/shopify-api';
import express from 'express';
const shopify = shopifyApi({
// The next 4 values are typically read from environment variables for added security
apiKey: 'APIKeyFromPartnersDashboard',
apiSecretKey: 'APISecretFromPartnersDashboard',
scopes: ['read_products'],
hostName: 'ngrok-tunnel-address',
...
});
const app = express();
🙏
The text was updated successfully, but these errors were encountered:
A couple of questions for you to help us best figure out our short comings, and how I can best direct you to the appropriate place for next steps!
What libraries are you currently trying to use? (It looks like just shopify-api? Not shopify-app-express or shopify-app-remix?)
How did you discover this package? Google search? Or did you come from documentation from Shopify.dev? (This info can help us optimize the wayfinding of our documentation.)
If you are just getting started with Shopify App Development I would recommend starting out with the Create an app and Build a Shopify app using Remix tutorials. This is our recommended stack for building apps, and has the most documentation.
If you don't want to use Remix, we do have further example code for express. I believe this example of using the shopify-app-express library could be what you are looking for.
We are closing this issue because we did not hear back regarding additional details we needed to resolve this issue. If the issue persists and you are able to provide the missing clarification we need, feel free to respond and reopen this issue.
We appreciate your understanding as we try to manage our number of open issues.
Overview/summary
Can you improve your documentation? Most people don't care about all the options and API if they cannot simply authenticate successfully. Can you add a code sample E2E do to exactly that?
Currently you have this, which is trying to help but it doesn't. You still need something else to know if your creds work
🙏
The text was updated successfully, but these errors were encountered: