code: func NewAccessClient(c context.Context) (*AccessClient, error) {
  	settings := GetSettings(c)
  	if settings.Buildbucket.GetHost() == "" {
  		return nil, errors.Reason("no buildbucket host found").Err()
  	}
  	t, err := auth.GetRPCTransport(c, auth.AsUser)
  	if err != nil {
  		return nil, errors.Annotate(err, "getting RPC Transport").Err()
  	}
  	return &AccessClient{
  		AccessClient: bbAccess.NewClient(settings.Buildbucket.Host, &http.Client{Transport: t}),
  		Host:         settings.Buildbucket.Host,
  	}, nil
  }
docs: // NewAccessClient creates a new AccessClient for talking to this milo instance's buildbucket instance.