Step 1: Generate a Metadata Cache
Before setting up a connecting in LightSwith, you should first cache metadata. In order to do so, please follow the steps under Caching Metadata. While setting up the entity model, LightSwitch will attempt to get data about every table and column. This will result in one query for every table available. It is much better to cache this data beforehand so that LightSwitch can pull this data from the cache instead of sending a query for every table available in Amazon SimpleDB.
Step 2: Establish a Connection
Setting up the connection properties in LightSwitch is fairly straightforward. Fill in the connection properties in the same manner as described under Establishing a Connection. Make sure to specify the CacheLocation to the metadata cache you generated in step 1. This will save you time when generating the Entity Data Model.
Step 3: Generate the Data Model
Now that you've gotten your connection properties set up, you are ready to connect. Click the Next button to generate a data model in the wizard. You can then select which tables you would like to use in your project.