Dortmund squandered their one-goal lead twice and allowed Bayern Munich to turn the tides in the penalty shootout as Bayern goalkeeper Sven Ulreich denied Sebastian Rode and Marc Bartra to smooth the way for the win on Saturday.
Christian Pulisic put Dortmund 1-0 ahead before Poland striker Robert Lewandowski equalised.
"We turned in a very good display".
"Of course the title is important", Ancelotti said.
Mario Gotze was absent from Dortmund's matchday squad, having returned to action during pre-season on the back of five months due to a metabolic disorder.
"We will do everything in our power to ensure, and are optimistic, that all the problems will be resolved by the start of the Bundesliga season on August 18".
Bayern's new sporting director Hasan Salihamidzic, who was just named to the post this week, acknowledged Bayern's poor run of form but was happy to see them come through on Saturday.
"I'm very glad about the victory, it is the first title", Lewandowski told Bayern's official website. "We have talked a lot with the coach and the players in the past few days. But again, we should not have let the game go into the penalty shoot-out". Unfortunately we conceded two goals, we weren't attentive then. We are Bayern Munich and can not afford so many defeats. In the end, we showed great morale, getting the result we wanted.