     else
       @instructionsView = new KDCustomHTMLView cssClass: 'hidden'
 
-    channels = ({ title: channel.name, value: channel.id } for channel in data.channels)
-
-    { customName } = data.settings  if data.settings
+    repositories = ({ title: repository.full_name, value: repository.full_name } for repository in data.repositories)
+    channels     = ({ title: channel.name, value: channel.id } for channel in data.channels)
+
     formOptions         =
       cssClass          : 'AppModal-form details-form'
       callback          : @bound 'handleFormCallback'

      <header class="integration-view">
        <img src="#{iconPath}" />
        <p>#{title}</p>
         #{summary}
      </header>
      <section class="description">
        #{description}

          type          : 'select'
          selectOptions : repositories
          cssClass      : unless repositories.length then 'hidden'
          defaultValue  : data.selectedRepository # DUMMY_DATA @canthefason
        events          :
          label         : '<p>Customize Events</p><span>Choose the events you would like to receive events for.</span>'
          type          : 'hidden'
          cssClass      : unless data.settings?.events?.length then 'hidden'
        name            :
          label         : '<p>Customize Name</p><span>Choose the username that this integration will post as.</span>'
          defaultValue  : data.settings?.customName or integration.title
      buttons           :
        Save            :
          title         : 'Save Integration'
