Step 1. Sign in and Register.
Sign-in to Windows Azure Marketplace. If this is your first time, you’ll likely see this registration page.
Fill out your details, and press the ‘Continue’ button.
You’ll be taken to the Terms of Use page. Read it carefully, and if you accept it, check the box at the bottom of the screen that says ‘I accept the Terms of Use’, and press the ‘Register’ button.
Step 2. Subscribe to the Microsoft Translator API.
In this section you’ll subscribe to the Microsoft Translator API in the Windows Azure Marketplace. There are a number of service options you can choose, and in this walkthrough you’ll see how to use the free one.
Step 2.1. Find the Microsoft Translator API service in the Windows Azure Marketplace
If you’ve completed the Windows Azure Marketplace registration (Step 1), then visit https://datamarket.azure.com/home/ to see the main Marketplace home page. At the top of the screen, you’ll see a ‘Search’ box.
Type ‘translator’ into this box and press enter, or click the button on the right that is shaped like a magnifying glass.
Step 2.2. Subscribe to the Translator API service.
Click on ’Microsoft Translator’ and you’ll be taken to the Microsoft Translator API Offer page on Windows Azure Marketplace.
(Note: For a short cut, you can also go directly to the screen by visiting this URL: https://datamarket.azure.com/dataset/bing/microsofttranslator
On the right hand side of the screen, you’ll see a number of different monthly volume offers. Choose the one that meets your monthly volume usage needs. For this guide, you’ll use the free 2 million characters per month subscription offer, which you can find at the bottom of the list.
Press the ‘Sign Up’ link on your chosen offer and you’ll be taken to a page where you are asked to confirm and agree that you will adhere to the Translator API ‘Offer Terms and Privacy Policy’.
If you agree, check the box and press the Sign Up button.
You’ll then be taken to the page confirming that you’ve successfully subscribed to the service and the volume goes into effect at that time. In the next step, you’ll get your developer credentials from Windows Azure Marketplace, and you’ll use these when building your apps.
Step 3. Getting your Developer Credentials
This step assumes that you have:
· Completed Steps 1 and 2
· You have registered for a Windows Azure Marketplace account
· You have used your Marketplace account to subscribe to the Microsoft Translator API service.
Step 3.1. Registering your application on the Windows Azure Marketplace.
Sign in to https://datamarket.azure.com/home/, and you’ll see the familiar welcome page.
At the bottom of the page, you’ll see a number of links, organized into columns.
One of these reads ‘Develop’, and under it you’ll see a link that says ‘Register your Application’.
Select this and you’ll be taken to the screen that allows you register your application.
Step 3.2. Getting your Client ID and Client Secret
You use this to get the Client ID and Client Secret values that your application will need to authenticate your service when you build your application.
· Fill out the Client ID, and Name fields.
· The Client Secret field is already completed for you. Do not change it.
· Fill out the ‘Redirect URI’ field with any valid URL that uses https, for example https://microsoft.com. This field is not used by the Microsoft Translator API.
· You can also leave the ‘Enable subdomain access’ checkbox unchecked, as Translator doesn’t use it.
Remember and note the Client ID and Client Secret fields. You will need these when you write your app.