Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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.

  1. Go to Visual Studio > Tools > Options > NuGet Package Manager > Package Sources.
  2. Click Add:
    1. Name – Configured Commerce
    2. Sourcehttps://nuget.optimizely.com/feed/packages.svc
  3. Restore packages.

Configure the local environment

Open Visual Studio and rebuild the solution.

For SQL, follow these steps:

  1. Create a database within sql server
  2. Run ./database/Insite.Commerce.StartingDatabase.sql against the database.
  3. (Optional) Run ./database/Insite.Commerce.SampleData.sql against the database.
  4. Update ./src/InsiteCommerce.Web/config/connectionStrings.config so it can connect to your new database.
    The build copies connectionStrings.default.config to connectionStrings.config. If you skipped step 1, you can copy the file manually.

For IIS, follow these steps:

  1. Add a new site to IIS, pointing to ./src/InsiteCommerce.Web.
  2. Configure bindings:
    1. For simple setups, using a non-standard port like 8080 is fine. The site can then be accessed at http://localhost:8080.
    2. 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 in c:\Windows\System32\drivers\etc\hosts:
      127.0.0.1 projectA.local.com
      127.0.0.1 projectB.local.com
      📘

      Note

      https is not required.

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.

📘

Note

Depending on your SDK version, you may not have access to all the features listed in the documentation.