# Credentials
You'll use the same credentials as for the code lab; if you already have these you can skip to the next section.
#### Google Apps
Get Google Apps credentials [here](https://accounts.google.com/SignUp) if you don't have a personal gmail account or a Google Apps domain account.
#### SAP
Get SAP ID credentials [here](https://accounts.sap.com/ui/) if you don't have them
Use these to access the SAP Community Network and register for the SAP Gateway Service Consumption System
You should receive a confirmation email which looks like this:
* User and password to start consuming RESTfull oData Services on the shared SAP ERP System.
Your user-id:
Initial password:
Log in and set your permanent password
In a production implementation you'd use [Apps Script client OAuth](https://github.com/googlesamples/apps-script-oauth2) against the [SAP Gateway OAuth server](http://wiki.scn.sap.com/wiki/display/Security/OAuth+2.0+-+Constrained+Authorization+and+Single+Sign-On+for+OData+Services); the SAP demo system uses id/password credentials for simplicity.
# Review the SAP Gateway Sample Services
The Spreadsheet Actions map to the [Product Collection](https://sapes1.sapdevcenter.com/sap/opu/odata/IWBEP/GWDEMO/ProductCollection) business service.
Note that the services can only be viewed as XML on the SAP side
# Try out the sample form
Open the [Product Submission Form](https://docs.google.com/a/ferrisargyle.com/forms/d/1bG-Zo9QZf36oM7c8_SLMxsZdHHDSLxtIHt7631db8L0/viewform) and submit a new product.
Wait a few minutes for the SAP system to refresh and then open the [SAP Product Collection](https://sapes1.sapdevcenter.com/sap/opu/odata/IWBEP/GWDEMO/ProductCollection) and scroll to the bottom: your new product should be there; to simplify data entry, many of the fields are defaulted; those which you entered in the Form should be reflected.
### Congratulations!
You've just updated SAP Gateway Product data directly from a Google Form.
# Behind the scenes
This uses the same techniques as the code lab, with a POST instead of GET. You can see the sample code [here](https://script.google.com/a/macros/ferrisargyle.com/d/1Z2s9B3h9D3SiBbs5IV2WZPCEk6a0lOHhTIiCm870f5nw5hcaFUNjQvnD/edit?template=default&folder=0B7eOaxjf0g3YbXUwdFVpQmR5dlU&usp=drive_web).
Note that this is using sample credentials which were provided through a menu item and sidebar which was added to the Form editor in the same way which was done for the spreadsheet; unlike Spreadsheets, only editors have access to Form menu items, so as a viewer you don't see this.