Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to log into a salesforce.com sandbox?

I took over a Rails app and am trying to get the Salesforce.com API credentials set up for my user account.

I'm set as a system admin with "Developer Mode" on (though I have no clue what that does, I just saw it set on the previous account.)

We have a sandbox. I click the login link on it, enter my sandbox username ([email protected]), enter my password, and get "Login attempt has failed".

I know my password is okay since I've logged into the production site several times. Using different domains (test.salesforce.com, etc) doesn't help either.

Edit to clarify where I'm stuck:

I'm logged into the production site and under "my sandboxes" there's a login link next to each sandbox which takes you to the correct server and pre-fills your sandbox username.

So, my issues are with that, getting logged into the sandbox web interface.

I do understand the security tokens and have my production API stuff set up, but I'd rather try my changes out on the sandbox first! From the examples I've seen, the sandbox security tokens are different, so I'm trying to log into the sandbox web interface for that.

like image 304
wesgarrison Avatar asked Jan 19 '26 00:01

wesgarrison


2 Answers

My user account was created after the sandbox. So, it wasn't in the sandbox.

A sandbox refresh added my account into the sandbox.

Pretty basic mistake.

like image 114
wesgarrison Avatar answered Jan 20 '26 15:01

wesgarrison


You won't be able to login from https://login.salesforce.com that's only for production.

You're correct to use the sandbox instance https://test.salesforce.com (or https://cs1.salesforce.com, https://cs2.salesforce.com, etc.)

I'm sure you figured out [email protected] is your regular username, but the "sandbox" part is the actual name of your sandbox. So if you named your sandbox as "sbx" you would login as [email protected]

If that doesn't work, go to your production organization where you can login. Navigate to Setup -> Data Management -> Sandbox and then click the Login button next to the sandbox you wish you login to.

like image 40
Ryan Guest Avatar answered Jan 20 '26 13:01

Ryan Guest



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!