 
 
   handleSave: ->
+
+    unless @_credentialsPassed
+      @outputView.addAndWarn "Please add your credentials to be
+                              able to save this template"
+      @saveButton.hideLoader()
+      return
 
     unless @variablesView.isPassed()
 


    @stackTemplateView.on 'CredentialStatusChanged', (status) =>
      if status is 'verified'
        @saveButton.enable()
        @tabView.showPaneByIndex 0
      else
        @saveButton.disable()

    @tabView.on 'PaneDidShow', (pane) =>
      @outputView.fall()

    @buttons.addSubView @saveButton = new KDButtonView
      title          : 'Save & Test'
      cssClass       : 'solid compact green nav next'
      loader         : yes
      callback       : @bound 'handleSave'

