code: def register(dlgr_id, snapshot=None):
      
      try:
          config.get("osf_access_token")
      except KeyError:
          pass
      else:
          osf_id = _create_osf_project(dlgr_id)
          _upload_assets_to_OSF(dlgr_id, osf_id)
docs: Register the experiment using configured services.