The Process in a Nutshell
Here's a summary of what you'll need to do to get your instance of Populi integrated with your Google Apps for Education account using Single Sign-On. If you like checklists, you can download a PDF of this section.
- Create a Google Apps Super Administrator Account for Populi (e.g.
- Set up an SPF record to allow Populi to send email on behalf of your .edu domain.
- Confirm that all Google Apps users have matching Populi user accounts. For example, Populi user
jimbob04must also be Google Apps user
firstname.lastname@example.org. If usernames and passwords don't match up, those users won't be able to log in after the integration!
- If you'd like to import calendars from Populi Calendar to Google Calendar, tell us which Calendars. We can import the Populi "School Calendar," but not individual Populi User Calendars. If you've already been using Google Calendar, importing Populi Calendars might duplicate events.
- Notify your users of the upcoming changes:
- They will now log in to Google Apps with their Populi password.
- They will need to update settings in desktop clients like Outlook and Thunderbird.
- Their Populi Calendars—both personal and college—will disappear; they will receive automatic read-only subscriptions to your college's Google Shared Calendar.
Give Populi an Administrator Account
Once you've activated your free Google Apps for Education account, log in to the Apps control panel and create a Super Administrator account for Populi (e.g.
email@example.com); send the welcome email to
firstname.lastname@example.org. Populi uses this account to automate user-creation (that is, add email and calendar accounts in Google Apps)—so make sure it has Super Administrator-level access!
Check your SPF DNS Record
Next, to ensure proper email delivery, have your IT staff ensure that your domain has an SPF DNS Record that looks something like this:
v=spf1 a mx include:email.populi.co include:_spf.google.com ~all
This record tells anti-spam software that Populi is allowed to send mail on your behalf, so that email you send from Populi isn't automatically marked as spam.
Feel free to contact us at email@example.com if you have questions about this—it can be very difficult to figure out the exact form this record should take.
Notify Populi Support
Once you've completed the previous steps, let us know the Populi-specific username and password. We'll log in and modify the following settings:
Over at https://admin.google.com . . .
Search for Set up single sign-on (SSO) with a third party IdP and click on the top result.
Click on Set up single sign-on (SSO).
We'll upload a Verification certificate to ensure secure communication between Google and Populi. We'll also change the following settings:
- Sign-in page URL: https://yourcollegedomain.populiweb.com/router/saml/idp/receive
- Sign-out page URL: https://yourcollegedomain.populiweb.com/internal/
- Change password URL: https://yourcollegedomain.populiweb.com/internal/people/change_my_password.php
- Check Use a domain specific issuer
Search for API Access and click on the top result.
We'll check Enable API Access. This allows Populi to automatically create and suspend Google Apps user accounts. (Note: this step may be deprecated due to recent design changes and the new App Access Control settings.)
Then over at https://console.developers.google.com . . .
We'll create a new Project called Populi API. (Note: You may need to enable the developer console in the admin console. Search for Google Developers Console (or Google Cloud Platform))
Search for Google Calendar API and enable it.
Admin SDK and enable it.
Gmail API and enable it.
Search for All Quotas. We'll set the Per-User Limit to 100,000 requests/second/user or whatever the maximum value is. It is very important to maximize the Quota for the Calendar API!
Search for Service Accounts. We'll create a new account named Populi Service Account, set the Role to Project: Owner, and check the box for Furnish a new private key and Enable Google Apps Domain-wide Delegation.
The Service Account JSON key should automatically download. This might only work in Google Chrome.
Then over in Populi . . .
Under Populi > Account > Account Settings > Integrations > Google Apps JSON Private Key, paste that JSON key you just downloaded.
Under Populi > Account > Account Settings > Single Sign-On (IdP), set Should other applications be allowed to authenticate against Populi? to Always let other applications authenticate.
Then back over in https://admin.google.com . . .
Go to Security->App access control->Manage Domain Wide Delegation.
Set the Client Name to the client_id as specified in the JSON private key you just downloaded.
Set the Scopes to:
Activate the Integration
Once these settings are complete, we will confirm a time with you to activate the integration. At the agreed-upon time, we'll throw the switch and activate the integration!
Once the integration is activated, any previous Google Apps passwords will no longer work—it will instead require a valid Populi username and password. Depending on your preference, we may change some Populi usernames to be the same as Google Apps usernames (or the other way around), but that should be fairly rare.
Let your users know about this several days before the integration is activated. Explain to them how their login process to Google Apps will change.
What happens in Populi now?
Read more about this in Questions about Google Apps.
You can add and suspend user accounts.
When creating a new user, you'll now have the option to create a Google Apps account with the same username. Your users can now log in to Google Apps with their Populi credentials; those same credentials can even connect a desktop email client like Thunderbird or Outlook to GMail.
Email and Calendar Apps
New users will be automatically subscribed to your School Calendar. Users will see events from their personal calendars and the School Calendar on their Home Dashboard.
Once logged into Populi, when you (or any of the users at your institution) click Email or Calendar, it will open the Gmail or Google Calendar accounts you have through your institution.
Composing Email in Populi
There are some limitations with how the Email integration works. To take advantage of some of the advanced Email features in Populi, Populi still uses the native Compose Email view. It opens when you click Email links within Populi (like "Email This Section", "Email Staff", etc.). Messages sent from Populi will show up in a new Sent From Populi folder in Gmail; nor will messages sent from Gmail appear anywhere in Populi.
Use GMail for personal or unofficial correspondence.
Use Populi for official, school-related correspondence, or anything that requires a public record, such as:
- Anything you want to appear on a person's Activity Feed
- Mailing Lists or One-Time Lists
- Emailing students in a course, or groups of people found in Data Slicer Reports, or any other group-emailing you need to do