Configure your SDK environment
How to configure the Optimizely Configured Commerce SDK.
See the SDK release notes section to learn about current versions and features.
Configure Optimizely NuGet source in Visual Studio
You can find NuGet packages on https://nuget.optimizely.com, which does not require authentication.
- Go to Visual Studio > Tools > Options > NuGet Package Manager > Package Sources.
- Click Add:
- Name – Configured Commerce
- Source – https://nuget.optimizely.com/feed/packages.svc
- Restore packages.
Configure the local environment
Open Visual Studio and rebuild the solution.
For SQL, follow these steps:
- Create a database within sql server
- Run
./database/Insite.Commerce.StartingDatabase.sqlagainst the database. - (Optional) Run
./database/Insite.Commerce.SampleData.sqlagainst the database. - Update
./src/InsiteCommerce.Web/config/connectionStrings.configso it can connect to your new database.
The build copiesconnectionStrings.default.configtoconnectionStrings.config. If you skipped step 1, you can copy the file manually.
For IIS, follow these steps:
- Add a new site to IIS, pointing to
./src/InsiteCommerce.Web. - Configure bindings:
- For simple setups, using a non-standard port like 8080 is fine. The site can then be accessed at
http://localhost:8080. - If dealing with multiple projects, it can help to have them setup with hostnames on port 80:
projectA.local.com
projectB.local.com
This requires entries inc:\Windows\System32\drivers\etc\hosts:
127.0.0.1projectA.local.com
127.0.0.1projectB.local.comNotehttpsis not required.
- For simple setups, using a non-standard port like 8080 is fine. The site can then be accessed at
Once finished with either set of steps, log in to /admin with the following credentials:
user – admin
password – admin123
Use Configured Commerce
For information about using the frontend of Configured Commerce, such as the Admin Console or storefront, see the user documentation.
NoteDepending on your SDK version, you may not have access to all the features listed in the documentation.
Updated about 1 hour ago
