Directing to a form in a resource from a widget in my dashboard

I got this widget in my dashboard:
                    <div class="col-md-6">
                            <x-filament::button
                                icon="heroicon-m-arrow-right"
                                icon-position="after"
                                href="???"
                                tag="a"
                            >
                                Add
                            </x-filament::button>
                    </div>


and it has to direct to a:
public static function form(Form $form): Form
(inside a Resource)

How do I make this work?
Was this page helpful?