Connecting custom app to production HubSpot CRM environment

I’ve been working on a HubSpot integration and I’m stuck on something. I managed to get everything working perfectly with their sandbox environment using their API docs. My PHP code with cURL requests works great for the test environment. But now I need to move this to production and I can’t figure out the next steps. How do I get the production credentials for my real HubSpot account? I’ve looked everywhere in my account settings but I can’t find where to generate the Client ID and Secret for the live environment. Also not sure how to link my production website to the app I built. Any ideas on what I might be missing here?

Sandbox credentials won’t work in production - you’ll need to create a proper app registration in the HubSpot Developer Portal. Log into developers.hubspot.com, create a new app, and configure it with your production domain and callback URLs. Here’s where most people mess up: after you get your production Client ID and Secret, you’ve got to install the app to your HubSpot portal through the App Marketplace or the installation URL from your developer account. Double-check that your redirect URIs match exactly - same protocol, same subdirectories, everything. I ran into this same issue when I first deployed. Turned out my callback URL had a tiny typo that worked fine in testing but broke everything in production.

u gotta make a new app in hubspot’s dev portal for prod. head to developers.hubspot.com, set up a fresh app – sands aint for live stuff. after you create it, get the client ID n secret, then install it on ur main hubspot account.

You’re looking in the wrong spot for those credentials. The Client ID and Secret come from the Developer Portal when you register your app - not your regular HubSpot settings. I made this same mistake on my first production deployment. The sandbox is completely separate from your actual HubSpot account. Think of it like launching a brand new integration, not just switching environments. Once you create your production app in the Developer Portal, you’ll need to authorize your HubSpot account to use it. Run the same OAuth flow you tested in sandbox, but this time against your real account. One more thing - if you’re using webhook endpoints, make sure your production server can handle them since HubSpot will hit your live URLs instead of localhost.

also check ur php cURL endpoints. ppl often forget to switch base URLs from sandbox to prod - thatll break everything even with the right dev portal creds.