     cloud_json_path = "config/cloud.json"
 
     unless fs.existsSync(cloud_json_path)
-      console.log "application needs to be deployed before provisioning a dolandb, please run steroids deploy"
+      Help.deployRequiredForDolanDBProvisioning()
       process.exit 1
 
     cloud_json = fs.readFileSync(cloud_json_path, 'utf8')


    @config_api.get("/app/#{@getAppId()}/service_providers.json", (err, req, res, obj) =>
      @config_api.close()
      obj.forEach (provider) ->
        if (name== "appgyver_sandbox" and provider.providerTypeId==6)
          deferred.resolve(provider.uid)
      deferred.resolve(null)

    )

    return deferred.promise

    )

  addResource: (provider_name, params) =>
    @getProviderByName(provider_name).then(
      (provider) =>
        resource_name = params.shift()

        console.log "Adding resource '#{resource_name}' to provider '#{provider_name}'..."

        postData = createPostData(provider_name, resource_name, params)

        @askConfigApiToCreateResource(provider, postData).then(
          () =>
            @saveRamlToFile()
          , (error) ->
            console.log error
        )
      (error) =>
        errorObject = JSON.parse(error)
        Help.error()
        console.log "\nCould not add resource: #{errorObject.error}"
    )


  browseResoures: (provider_name, params) =>
    open URL.format("#{db_browser_url}#{@getAppId()}")
